internal void AddPInvokeInfo(ImplMap impl) { pinvokeImpl = impl; methFlags |= PInvokeImpl; }
public void AddPInvokeInfo(ModuleRef scope, string methName, PInvokeAttr callAttr) { pinvokeImpl = new ImplMap((ushort)callAttr, this, methName, scope); methFlags |= PInvokeImpl; }
public void RemovePInvokeInfo() { pinvokeImpl = null; methFlags &= NotPInvoke; }
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); }