예제 #1
0
 // Set the method implementation attributes for this constructor.
 public void SetImplementationFlags(MethodImplAttributes attributes)
 {
     try
     {
         type.StartSync();
         lock (typeof(AssemblyBuilder))
         {
             MethodBuilder.ClrMethodSetImplAttrs
                 (privateData, attributes);
         }
     }
     finally
     {
         type.EndSync();
     }
 }