Пример #1
0
 internal void AddPInvokeInfo(ImplMap impl)
 {
     pinvokeImpl = impl;
     methFlags |= PInvokeImpl;
 }
Пример #2
0
 public void AddPInvokeInfo(ModuleRef scope, string methName,
     PInvokeAttr callAttr)
 {
     pinvokeImpl = new ImplMap((ushort)callAttr, this, methName, scope);
     methFlags |= PInvokeImpl;
 }
Пример #3
0
 public void RemovePInvokeInfo()
 {
     pinvokeImpl = null;
     methFlags &= NotPInvoke;
 }
Пример #4
0
 internal static void Read(PEReader buff, TableRow[] impls)
 {
     Contract.Requires(buff != null);
     Contract.Requires(impls != null);
     for (int i = 0; i < impls.Length; i++)
         impls[i] = new ImplMap(buff);
 }