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)));
 }
        public MethodImplRow CreateMethodImplRow(uint _class, MetadataToken _methodBody, MetadataToken _methodDeclaration)
        {
            MethodImplRow row = new MethodImplRow();

            row.Class             = _class;
            row.MethodBody        = _methodBody;
            row.MethodDeclaration = _methodDeclaration;
            return(row);
        }
Пример #3
0
 public override void VisitMethodImplRow(MethodImplRow row)
 {
     WriteTablePointer (row.Class, TypeDefTable.RId);
     WriteMetadataToken (row.MethodBody, CodedIndex.MethodDefOrRef);
     WriteMetadataToken (row.MethodDeclaration, CodedIndex.MethodDefOrRef);
 }
Пример #4
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;
 }
 public override void VisitMethodImplRow(MethodImplRow row)
 {
     WriteTablePointer(row.Class, TypeDefTable.RId);
     WriteMetadataToken(row.MethodBody, CodedIndex.MethodDefOrRef);
     WriteMetadataToken(row.MethodDeclaration, CodedIndex.MethodDefOrRef);
 }
Пример #6
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)));
 }