25 references to TypeRef
ILAssembler (3)
EntityRegistry.cs (2)
181
foreach (TypeReferenceEntity type in GetSeenEntities(TableIndex.
TypeRef
))
701
scope = GetOrCreateEntity((scope, typeName.Namespace, typeName.Name), TableIndex.
TypeRef
, _seenTypeRefs, value => new TypeReferenceEntity(scope, value.Namespace, value.Name), typeRef =>
GrammarVisitor.cs (1)
5506
tableStreamSize += rowCounts[(int)TableIndex.
TypeRef
] * 6; // 2+2+2
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
124
_typeRefIndex = new TypeReferenceIndex(this, lastRowId: sizes[(int)TableIndex.
TypeRef
]);
169
sizes[(int)TableIndex.
TypeRef
] = _typeRefIndex.Rows.Count;
1159
PopulateEncLogTableRows(TableIndex.
TypeRef
, previousSizes, deltaSizes);
1317
case TableIndex.
TypeRef
:
1406
TableIndex.
TypeRef
,
PEWriter\MetadataWriter.cs (1)
2878
metadata.SetCapacity(TableIndex.
TypeRef
, typeRefs.Count);
System.Reflection.Metadata (15)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
148
case TableIndex.
TypeRef
: SetTableCapacity(_typeRefTable, rowCount); break;
261
case TableIndex.
TypeRef
: return _typeRefTable.Count;
333
rowCounts[(int)TableIndex.
TypeRef
] = _typeRefTable.Count;
1652
if (metadataSizes.IsPresent(TableIndex.
TypeRef
))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
50
TableIndex.
TypeRef
=> reader.TypeRefTable.RowSize,
131
TableIndex.
TypeRef
=> reader.TypeRefTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (6)
168
TableIndex.
TypeRef
,
193
MemberRefParentCodedIndexIsSmall = IsReferenceSmall(3, TableIndex.TypeDef, TableIndex.
TypeRef
, TableIndex.ModuleRef, TableIndex.MethodDef, TableIndex.TypeSpec);
199
ResolutionScopeCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.Module, TableIndex.ModuleRef, TableIndex.AssemblyRef, TableIndex.
TypeRef
);
201
TypeDefOrRefCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.TypeDef, TableIndex.
TypeRef
, TableIndex.TypeSpec);
212
TableIndex.
TypeRef
,
274
size += GetTableSize(TableIndex.
TypeRef
, resolutionScopeCodedIndexSize + stringReferenceSize + stringReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
19
TypeRef = 1UL << TableIndex.
TypeRef
,
204
internal const uint TypeRef = (uint)TableIndex.
TypeRef
;
System\Reflection\Metadata\MetadataReader.cs (1)
608
this.TypeRefTable = new TypeRefTableReader(rowCounts[(int)TableIndex.
TypeRef
], resolutionScopeRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.MetadataTables.cs (1)
41
Interlocked.CompareExchange(ref field, CreateTable<RoDefinitionType>(TableIndex.
TypeRef
), null) ??