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






_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to