typo
[mono.git] / mcs / mcs / modifiers.cs
index 4fb596d1e7d96f91259d51f37d4346bd8083314e..604869303c59c397053ba49d3bce096ce9e330c5 100644 (file)
@@ -25,15 +25,13 @@ namespace Mono.CSharp {
                public const int EXTERN    = 0x0800;
                public const int VOLATILE  = 0x1000;
                public const int UNSAFE    = 0x2000;
-               private const int TOP      = 0x2000;
+               private const int TOP      = 0x4000;
 
                public const int PROPERTY_CUSTOM = 0x4000; // Custom property modifier
 
                //
-               // We use this internally to flag that the method contains an iterator
+               // Compiler specific flags
                //
-               public const int METHOD_YIELDS                  = 0x8000;
-               public const int METHOD_GENERIC                 = 0x10000;
                public const int PARTIAL                                = 0x20000;
                public const int DEFAULT_ACCESS_MODIFER = 0x40000;
                public const int METHOD_EXTENSION               = 0x80000;
@@ -97,7 +95,7 @@ namespace Mono.CSharp {
                        if (ma == MethodAttributes.Public)
                                return "public";
 
-                       if (ma == MethodAttributes.FamANDAssem)
+                       if (ma == MethodAttributes.FamORAssem)
                                return "protected internal";
 
                        if (ma == MethodAttributes.Private)