torsten's .NET blog In the end, everything is a gag [Ch. Chaplin]
# Friday, December 24, 2004
Merry Christmas!

Small issue I detected yesterday in the current .NET 1.1 compiler. Try to compile the following code:

        public string MyProperty {
            get { return null; }
            set { ; }
        }
It results in messages like this:
D:\Visual Studio Projects\test\ThreadedListView\ThreadedListView.cs: 
Internal Compiler Error: stage 'BEGIN'
D:\Visual Studio Projects\test\ThreadedListView\ThreadedListView.cs(1):
Internal Compiler Error: stage 'BEGIN' symbol ''
D:\Visual Studio Projects\test\ThreadedListView\ThreadedListView.cs(11):
Internal Compiler Error: stage 'BEGIN' symbol 'ThreadedListView'
Internal Compiler Error (0xc0000005 at address 53630902):
likely culprit is 'BEGIN'. An internal error has occurred in the compiler.
To work around this problem, try simplifying or changing the program near the
locations listed below. Locations at the top of the list are closer to the point at
which the internal error occurred.

I just removed the semicolon in the set, and it compiles fine. Today I wanted to repro that: but now no problems occured... So sorry, I cannot post a bug to MS for it.

Technorati tags:  | 
Friday, December 24, 2004 3:03:48 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  | 
Navigation

Like RSS Bandit? Make a donation to help support its development and maintenance. As little as 1€ will help.

Make payments with PayPal - it's fast, free and secure!
On this page....
<December 2004>
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

SUBSCRIBE RSS GeoURL e-mail

Search
Categories
Blogroll
[Feed] Dare Obasanjo
Dare Obasanjo aka Carnage4Life
[Feed] Clemens Vasters
[Feed] Omar Shahine
[Feed] Tom Mertens

newtelligence dasBlog 2.1.8102.813

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

WOT Notar

Join WebHost4Life.com