1 write to TypeRefTable
System.Reflection.Metadata (1)
System\Reflection\Metadata\MetadataReader.cs (1)
608this.TypeRefTable = new TypeRefTableReader(rowCounts[(int)TableIndex.TypeRef], resolutionScopeRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
23 references to TypeRefTable
System.Reflection.Metadata (23)
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
50TableIndex.TypeRef => reader.TypeRefTable.RowSize, 131TableIndex.TypeRef => reader.TypeRefTable.Block,
System\Reflection\Metadata\MetadataReader.cs (2)
609totalRequiredSize += this.TypeRefTable.Block.Length; 1032public TypeReferenceHandleCollection TypeReferences => new TypeReferenceHandleCollection(TypeRefTable.NumberOfRows);
System\Reflection\Metadata\MetadataReader.WinMD.cs (15)
83int index = StringHeap.BinarySearchRaw(s_projectedTypeNames!, TypeRefTable.GetName(typeRef)); 84if (index >= 0 && StringHeap.EqualsRaw(TypeRefTable.GetNamespace(typeRef), s_projectionInfos![index].WinRTNamespace)) 335if (StringHeap.EqualsRaw(TypeRefTable.GetNamespace(handle), "System")) 337StringHandle name = TypeRefTable.GetName(handle); 355return StringHeap.EqualsRaw(TypeRefTable.GetNamespace(handle), "System") && 356StringHeap.EqualsRaw(TypeRefTable.GetName(handle), "Attribute"); 373if (StringHeap.EqualsRaw(TypeRefTable.GetNamespace(extendsRefHandle), "System")) 375StringHandle nameHandle = TypeRefTable.GetName(extendsRefHandle); 555if (StringHeap.EqualsRaw(TypeRefTable.GetName(typeRef), "Enum") && 556StringHeap.EqualsRaw(TypeRefTable.GetNamespace(typeRef), "System")) 723return StringHeap.EqualsRaw(TypeRefTable.GetName(attributeTypeRef), "AttributeUsageAttribute") && 724StringHeap.EqualsRaw(TypeRefTable.GetNamespace(attributeTypeRef), "Windows.Foundation.Metadata"); 756var resolutionScope = TypeRefTable.GetResolutionScope(typeRef); 766typeName = TypeRefTable.GetName(typeRef); 767namespaceName = TypeRefTable.GetNamespace(typeRef);
System\Reflection\Metadata\TypeSystem\TypeReference.cs (4)
59return _reader.TypeRefTable.GetResolutionScope(Handle); 75return _reader.TypeRefTable.GetName(Handle); 91return _reader.TypeRefTable.GetNamespace(Handle); 124return _reader.TypeRefTable.GetName(Handle);