use the ecma name instead of the SR name for consistency
authorJb Evain <jbevain@gmail.com>
Tue, 30 Dec 2008 14:15:40 +0000 (14:15 -0000)
committerJb Evain <jbevain@gmail.com>
Tue, 30 Dec 2008 14:15:40 +0000 (14:15 -0000)
svn path=/trunk/mcs/; revision=122239

mcs/class/Mono.Cecil/Mono.Cecil/MethodAttributes.cs
mcs/class/Mono.Cecil/Mono.Cecil/MethodDefinition.cs

index a321a54fb2fe0215f045c1647b3394dc34745915..b04cbda86d83cda7703b5365289eda1cbdea479c 100644 (file)
@@ -50,7 +50,7 @@ namespace Mono.Cecil {
                ReuseSlot                       = 0x0000,       // Method reuses existing slot in vtable
                NewSlot                         = 0x0100,       // Method always gets a new slot in the vtable
 
-               CheckAccessOnOverride = 0x0200,   // Method can only be overriden if also accessible
+               Strict                          = 0x0200,   // Method can only be overriden if also accessible
                Abstract                        = 0x0400,       // Method does not provide an implementation
                SpecialName                     = 0x0800,       // Method is special
 
index 6787451e7359c21579b26c856c18160898e1033f..b0ed121dbdf53091f7b4b9d2e44077b995fe7189 100644 (file)
@@ -278,13 +278,13 @@ namespace Mono.Cecil {
                        }
                }
 
-               public bool IsCheckAccessOnOverride {
-                       get { return (m_attributes & MethodAttributes.CheckAccessOnOverride) != 0; }
+               public bool IsStrict {
+                       get { return (m_attributes & MethodAttributes.Strict) != 0; }
                        set {
                                if (value)
-                                       m_attributes |= MethodAttributes.CheckAccessOnOverride;
+                                       m_attributes |= MethodAttributes.Strict;
                                else
-                                       m_attributes &= ~MethodAttributes.CheckAccessOnOverride;
+                                       m_attributes &= ~MethodAttributes.Strict;
                        }
                }