[Mono-list] C# question

Varga Zoltan vargaz@freemail.hu
Mon, 28 Oct 2002 19:31:27 +0100 (CET)


                      Hi,

I stumbled across the following code in a C# source file:

public enum Modifiers
{
	Public			= 0x0001,
}

class Foo {

 internal Modifiers Modifiers {
	 get {
		 return Modifiers.Public;
	 }
 }

 private class Bar {
	 void bar2() {
		 Console.WriteLine (Modifiers.Public);
	 }
 }
}

It compiles fine with MS csc, but not with msc. Is the above
code invalid or should I file a bug report?

                 thanks

                        Zoltan