Пример #1
0
 public override void VisitMemberRefRow(MemberRefRow row)
 {
     row.Class = Utilities.GetMetadataToken(CodedIndex.MemberRefParent,
                                            ReadByIndexSize(GetCodedIndexSize(CodedIndex.MemberRefParent)));
     row.Name      = ReadByIndexSize(m_stringsHeapIdxSz);
     row.Signature = ReadByIndexSize(m_blobHeapIdxSz);
 }
Пример #2
0
        public MemberRefRow CreateMemberRefRow(MetadataToken _class, uint _name, uint _signature)
        {
            MemberRefRow row = new MemberRefRow();

            row.Class     = _class;
            row.Name      = _name;
            row.Signature = _signature;
            return(row);
        }
Пример #3
0
 public override void VisitMemberRefRow(MemberRefRow row)
 {
     WriteMetadataToken(row.Class, CodedIndex.MemberRefParent);
     WriteStringPointer(row.Name);
     WriteBlobPointer(row.Signature);
 }