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