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