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]  | 
Comments are closed.
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!
Site supporters
On this page....
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910

SUBSCRIBE RSS GeoURL e-mail

Search
Categories
Blogroll

newtelligence dasBlog 2.3.9074.18820

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

Join WebHost4Life.com