24 references to TypeSpec
ILAssembler (3)
EntityRegistry.cs (2)
388
foreach (TypeSpecificationEntity typeSpec in GetSeenEntities(TableIndex.
TypeSpec
))
665
return GetOrCreateEntity(signature, TableIndex.
TypeSpec
, _seenTypeSpecs, signature => new(signature), _ => { });
GrammarVisitor.cs (1)
5527
tableStreamSize += rowCounts[(int)TableIndex.
TypeSpec
] * 2; // 2
ILCompiler.ReadyToRun (1)
JitInterface\CorInfoImpl.ReadyToRun.cs (1)
531
int numTypeSpecs = reader.GetTableRowCount(TableIndex.
TypeSpec
);
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
125
_typeSpecIndex = new InstanceAndStructuralReferenceIndex<ITypeReference>(this, new TypeSpecComparer(this), lastRowId: sizes[(int)TableIndex.
TypeSpec
]);
182
sizes[(int)TableIndex.
TypeSpec
] = _typeSpecIndex.Rows.Count;
1160
PopulateEncLogTableRows(TableIndex.
TypeSpec
, previousSizes, deltaSizes);
1330
case TableIndex.
TypeSpec
:
1425
TableIndex.
TypeSpec
,
PEWriter\MetadataWriter.cs (1)
2938
metadata.SetCapacity(TableIndex.
TypeSpec
, typeSpecs.Count);
System.Reflection.Metadata (14)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
169
case TableIndex.
TypeSpec
: SetTableCapacity(_typeSpecTable, rowCount); break;
262
case TableIndex.
TypeSpec
: return _typeSpecTable.Count;
334
rowCounts[(int)TableIndex.
TypeSpec
] = _typeSpecTable.Count;
1757
if (metadataSizes.IsPresent(TableIndex.
TypeSpec
))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
76
TableIndex.
TypeSpec
=> reader.TypeSpecTable.RowSize,
157
TableIndex.
TypeSpec
=> reader.TypeSpecTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (5)
179
TableIndex.
TypeSpec
,
193
MemberRefParentCodedIndexIsSmall = IsReferenceSmall(3, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.ModuleRef, TableIndex.MethodDef, TableIndex.
TypeSpec
);
201
TypeDefOrRefCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.
TypeSpec
);
223
TableIndex.
TypeSpec
,
300
size += GetTableSize(TableIndex.
TypeSpec
, blobReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
45
TypeSpec = 1UL << TableIndex.
TypeSpec
,
222
internal const uint TypeSpec = (uint)TableIndex.
TypeSpec
;
System\Reflection\Metadata\MetadataReader.cs (1)
692
this.TypeSpecTable = new TypeSpecTableReader(rowCounts[(int)TableIndex.
TypeSpec
], blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);