Пример #1
0
        public InterfaceImplRow CreateInterfaceImplRow(uint _class, MetadataToken _interface)
        {
            InterfaceImplRow row = new InterfaceImplRow();

            row.Class     = _class;
            row.Interface = _interface;
            return(row);
        }
Пример #2
0
 public override void VisitInterfaceImplRow(InterfaceImplRow row)
 {
     row.Class     = ReadByIndexSize(GetIndexSize(TypeDefTable.RId));
     row.Interface = Utilities.GetMetadataToken(CodedIndex.TypeDefOrRef,
                                                ReadByIndexSize(GetCodedIndexSize(CodedIndex.TypeDefOrRef)));
 }
Пример #3
0
 public override void VisitInterfaceImplRow(InterfaceImplRow row)
 {
     WriteTablePointer(row.Class, TypeDefTable.RId);
     WriteMetadataToken(row.Interface, CodedIndex.TypeDefOrRef);
 }