示例#1
0
 public override void VisitTypeRefRow(TypeRefRow row)
 {
     row.ResolutionScope = Utilities.GetMetadataToken(CodedIndex.ResolutionScope,
                                                      ReadByIndexSize(GetCodedIndexSize(CodedIndex.ResolutionScope)));
     row.Name      = ReadByIndexSize(m_stringsHeapIdxSz);
     row.Namespace = ReadByIndexSize(m_stringsHeapIdxSz);
 }
        public TypeRefRow CreateTypeRefRow(MetadataToken _resolutionScope, uint _name, uint _namespace)
        {
            TypeRefRow row = new TypeRefRow();

            row.ResolutionScope = _resolutionScope;
            row.Name            = _name;
            row.Namespace       = _namespace;
            return(row);
        }
 public override void VisitTypeRefRow(TypeRefRow row)
 {
     WriteMetadataToken(row.ResolutionScope, CodedIndex.ResolutionScope);
     WriteStringPointer(row.Name);
     WriteStringPointer(row.Namespace);
 }