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.