internal void AddMethodImpl(MethodImpl impl) { methodImpls.Add(impl); }
public void RemoveMethodOverride(MethodImpl mImpl) { if (methodImpls != null) methodImpls.Remove(mImpl); }
internal void ReadMethodImpls(ClassDef theClass, uint classIx) { SetElementPosition(MDTable.InterfaceImpl,0); for (int i=0; (i < tableLengths[(int)MDTable.MethodImpl]); i++) { uint clIx = GetIndex(MDTable.TypeDef); uint bodIx = GetCodedIndex(CIx.MethodDefOrRef); uint declIx = GetCodedIndex(CIx.MethodDefOrRef); if (clIx == classIx) { MethodImpl mImpl = new MethodImpl(this,theClass,bodIx,declIx); theClass.AddMethodImpl(mImpl); tables[(int)MDTable.MethodImpl][i] = mImpl; } } }
public void AddMethodOverride(MethodImpl mImpl) { methodImpls.Add(mImpl); mImpl.SetOwner(this); }
internal static void Read(PEReader buff, TableRow[] impls) { for (int i=0; i < impls.Length; i++) impls[i] = new MethodImpl(buff); }