Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
        public TypeRefRow CreateTypeRefRow(MetadataToken _resolutionScope, uint _name, uint _namespace)
        {
            TypeRefRow row = new TypeRefRow();

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