54 references to TypeSpec
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
128_typeSpecIndex = new InstanceAndStructuralReferenceIndex<ITypeReference>(this, new TypeSpecComparer(this), lastRowId: sizes[(int)TableIndex.TypeSpec]); 162sizes[(int)TableIndex.TypeSpec] = _typeSpecIndex.Rows.Count; 1096PopulateEncLogTableRows(TableIndex.TypeSpec, previousSizes, deltaSizes); 1266case TableIndex.TypeSpec: 1361TableIndex.TypeSpec,
PEWriter\MetadataWriter.cs (1)
2886metadata.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)
829Row(2, TableIndex.TypeSpec, EditAndContinueOperation.Default), 839Handle(2, TableIndex.TypeSpec), 6813Row(1, TableIndex.TypeSpec, EditAndContinueOperation.Default), 6814Row(2, TableIndex.TypeSpec, EditAndContinueOperation.Default), 6815Row(3, TableIndex.TypeSpec, EditAndContinueOperation.Default), 6840Handle(1, TableIndex.TypeSpec), 6841Handle(2, TableIndex.TypeSpec), 6842Handle(3, TableIndex.TypeSpec), 15602Row(4, TableIndex.TypeSpec, EditAndContinueOperation.Default), 15616Handle(4, TableIndex.TypeSpec),
PDB\PDBUsingTests.cs (1)
2997Assert.Equal(1, reader.GetTableRowCount(TableIndex.TypeSpec));
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (22)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (10)
92Row(3, TableIndex.TypeSpec, EditAndContinueOperation.Default), 93Row(4, TableIndex.TypeSpec, EditAndContinueOperation.Default), 224Handle(3, TableIndex.TypeSpec), 225Handle(4, TableIndex.TypeSpec), 453Row(1, TableIndex.TypeSpec, EditAndContinueOperation.Default), 454Row(2, TableIndex.TypeSpec, EditAndContinueOperation.Default), 455Row(3, TableIndex.TypeSpec, EditAndContinueOperation.Default), 539Handle(1, TableIndex.TypeSpec), 540Handle(2, TableIndex.TypeSpec), 541Handle(3, TableIndex.TypeSpec),
Emit\EditAndContinue\EditAndContinueTests.vb (12)
209Row(2, TableIndex.TypeSpec, EditAndContinueOperation.Default), 218Handle(2, TableIndex.TypeSpec), 454Row(1, TableIndex.TypeSpec, EditAndContinueOperation.Default), 455Row(2, TableIndex.TypeSpec, EditAndContinueOperation.Default), 477Handle(1, TableIndex.TypeSpec), 478Handle(2, TableIndex.TypeSpec), 494Row(3, TableIndex.TypeSpec, EditAndContinueOperation.Default), 495Row(4, TableIndex.TypeSpec, EditAndContinueOperation.Default), 500Handle(3, TableIndex.TypeSpec), 501Handle(4, TableIndex.TypeSpec), 519Row(3, TableIndex.TypeSpec, EditAndContinueOperation.Default), 536Handle(3, 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);