Esempio n. 1
0
 public override void VisitMethodImplRow(MethodImplRow row)
 {
     row.Class      = ReadByIndexSize(GetIndexSize(TypeDefTable.RId));
     row.MethodBody = Utilities.GetMetadataToken(CodedIndex.MethodDefOrRef,
                                                 ReadByIndexSize(GetCodedIndexSize(CodedIndex.MethodDefOrRef)));
     row.MethodDeclaration = Utilities.GetMetadataToken(CodedIndex.MethodDefOrRef,
                                                        ReadByIndexSize(GetCodedIndexSize(CodedIndex.MethodDefOrRef)));
 }
Esempio n. 2
0
        public MethodImplRow CreateMethodImplRow(uint _class, MetadataToken _methodBody, MetadataToken _methodDeclaration)
        {
            MethodImplRow row = new MethodImplRow();

            row.Class             = _class;
            row.MethodBody        = _methodBody;
            row.MethodDeclaration = _methodDeclaration;
            return(row);
        }
Esempio n. 3
0
 public override void VisitMethodImplRow(MethodImplRow row)
 {
     WriteTablePointer(row.Class, TypeDefTable.RId);
     WriteMetadataToken(row.MethodBody, CodedIndex.MethodDefOrRef);
     WriteMetadataToken(row.MethodDeclaration, CodedIndex.MethodDefOrRef);
 }