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.
© Copyright 2002-2008, Torsten Rendelmann Page rendered at Wednesday, November 19, 2008 6:46:28 PM (W. Europe Standard Time, UTC+01:00)
Like RSS Bandit? Make a donation to help support its development and maintenance. As little as 1€ will help.
SUBSCRIBE RSS GeoURL
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.