32 references to TypeSpec
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
124
_typeSpecIndex = new InstanceAndStructuralReferenceIndex<ITypeReference>(this, new TypeSpecComparer(this), lastRowId: sizes[(int)TableIndex.
TypeSpec
]);
172
sizes[(int)TableIndex.
TypeSpec
] = _typeSpecIndex.Rows.Count;
1146
PopulateEncLogTableRows(TableIndex.
TypeSpec
, previousSizes, deltaSizes);
1316
case TableIndex.
TypeSpec
:
1411
TableIndex.
TypeSpec
,
PEWriter\MetadataWriter.cs (1)
2904
metadata.SetCapacity(TableIndex.
TypeSpec
, typeSpecs.Count);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenDynamicTests.cs (1)
2286
Assert.Equal(1, pe.Module.GetMetadataReader().GetTableRowCount(TableIndex.
TypeSpec
));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (11)
Emit\EditAndContinue\EditAndContinueTests.cs (10)
837
Row(2, TableIndex.
TypeSpec
, EditAndContinueOperation.Default),
847
Handle(2, TableIndex.
TypeSpec
),
7545
Row(1, TableIndex.
TypeSpec
, EditAndContinueOperation.Default),
7546
Row(2, TableIndex.
TypeSpec
, EditAndContinueOperation.Default),
7547
Row(3, TableIndex.
TypeSpec
, EditAndContinueOperation.Default),
7572
Handle(1, TableIndex.
TypeSpec
),
7573
Handle(2, TableIndex.
TypeSpec
),
7574
Handle(3, TableIndex.
TypeSpec
),
16388
Row(4, TableIndex.
TypeSpec
, EditAndContinueOperation.Default),
16402
Handle(4, TableIndex.
TypeSpec
),
PDB\PDBUsingTests.cs (1)
2997
Assert.Equal(1, reader.GetTableRowCount(TableIndex.
TypeSpec
));
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)
178
TableIndex.
TypeSpec
,
192
MemberRefParentCodedIndexIsSmall = IsReferenceSmall(3, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.ModuleRef, TableIndex.MethodDef, TableIndex.
TypeSpec
);
200
TypeDefOrRefCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.
TypeSpec
);
222
TableIndex.
TypeSpec
,
299
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);