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