Descriptor for an overriding method (.override)
Inheritance: MetaDataElement
Example #1
0
 internal void AddMethodImpl(MethodImpl impl)
 {
     methodImpls.Add(impl);
 }
Example #2
0
 public void RemoveMethodOverride(MethodImpl mImpl)
 {
     if (methodImpls != null)
         methodImpls.Remove(mImpl);
 }
Example #3
0
 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;
         }
     }
 }
Example #4
0
 public void AddMethodOverride(MethodImpl mImpl)
 {
     methodImpls.Add(mImpl);
     mImpl.SetOwner(this);
 }
Example #5
0
 internal static void Read(PEReader buff, TableRow[] impls)
 {
     for (int i=0; i < impls.Length; i++)
         impls[i] = new MethodImpl(buff);
 }