PERWAPI.PEReader.ReadMethodImpls C# (CSharp) Method

ReadMethodImpls() private method

private ReadMethodImpls ( ClassDef theClass, uint classIx ) : void
theClass ClassDef
classIx uint
return void
        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;
                }
            }
        }