138 references to TypeRef
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
123_typeRefIndex = new TypeReferenceIndex(this, lastRowId: sizes[(int)TableIndex.TypeRef]); 159sizes[(int)TableIndex.TypeRef] = _typeRefIndex.Rows.Count; 1145PopulateEncLogTableRows(TableIndex.TypeRef, previousSizes, deltaSizes); 1303case TableIndex.TypeRef: 1392TableIndex.TypeRef,
PEWriter\MetadataWriter.cs (1)
2844metadata.SetCapacity(TableIndex.TypeRef, typeRefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (116)
Emit\EditAndContinue\EditAndContinueTests.cs (116)
864Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 865Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 871Handle(7, TableIndex.TypeRef), 872Handle(8, TableIndex.TypeRef), 1194Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 1195Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 1201Handle(7, TableIndex.TypeRef), 1202Handle(8, TableIndex.TypeRef), 1232Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 1233Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 1234Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 1240Handle(9, TableIndex.TypeRef), 1241Handle(10, TableIndex.TypeRef), 1242Handle(11, TableIndex.TypeRef), 1318Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 1319Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 1320Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 1326Handle(6, TableIndex.TypeRef), 1327Handle(7, TableIndex.TypeRef), 1328Handle(8, TableIndex.TypeRef), 1356Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 1362Handle(9, TableIndex.TypeRef), 1390Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 1391Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 1392Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 1398Handle(10, TableIndex.TypeRef), 1399Handle(11, TableIndex.TypeRef), 1400Handle(12, TableIndex.TypeRef), 3180Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3181Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3182Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3189Handle(6, TableIndex.TypeRef), 3190Handle(7, TableIndex.TypeRef), 3191Handle(8, TableIndex.TypeRef), 3276Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3277Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3289Handle(6, TableIndex.TypeRef), 3290Handle(7, TableIndex.TypeRef), 3323Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3324Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 3330Handle(8, TableIndex.TypeRef), 3331Handle(9, TableIndex.TypeRef), 3386Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 3387Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 3388Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 3389Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 3400Handle(10, TableIndex.TypeRef), 3401Handle(11, TableIndex.TypeRef), 3402Handle(12, TableIndex.TypeRef), 3403Handle(13, TableIndex.TypeRef), 3876Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3877Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3878Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3879Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 3880Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 3935Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 3936Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 3937Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 3938Row(14, TableIndex.TypeRef, EditAndContinueOperation.Default), 3939Row(15, TableIndex.TypeRef, EditAndContinueOperation.Default), 3940Row(16, TableIndex.TypeRef, EditAndContinueOperation.Default), 3941Row(17, TableIndex.TypeRef, EditAndContinueOperation.Default), 3942Row(18, TableIndex.TypeRef, EditAndContinueOperation.Default), 3971Handle(11, TableIndex.TypeRef), 3972Handle(12, TableIndex.TypeRef), 3973Handle(13, TableIndex.TypeRef), 3974Handle(14, TableIndex.TypeRef), 3975Handle(15, TableIndex.TypeRef), 3976Handle(16, TableIndex.TypeRef), 3977Handle(17, TableIndex.TypeRef), 3978Handle(18, TableIndex.TypeRef), 4026Row(19, TableIndex.TypeRef, EditAndContinueOperation.Default), 4027Row(20, TableIndex.TypeRef, EditAndContinueOperation.Default), 4086Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 4092Handle(6, TableIndex.TypeRef), 4139Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 4140Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 4145Handle(7, TableIndex.TypeRef), 4146Handle(8, TableIndex.TypeRef), 7580Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7597Handle(6, TableIndex.TypeRef), 7745Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7763Handle(6, TableIndex.TypeRef), 7908Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7912Handle(6, TableIndex.TypeRef), 7974Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7980Handle(6, TableIndex.TypeRef), 7999Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 8003Handle(7, TableIndex.TypeRef), 8051Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 8055Handle(6, TableIndex.TypeRef), 8203Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 8454Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 8458Handle(7, TableIndex.TypeRef), 8574Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 8575Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 8580Handle(12, TableIndex.TypeRef), 8581Handle(13, TableIndex.TypeRef), 8729Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 8741Handle(6, TableIndex.TypeRef), 9360Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 9365Handle(6, TableIndex.TypeRef), 13116Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 13121Handle(7, TableIndex.TypeRef), 16599Row(21, TableIndex.TypeRef, EditAndContinueOperation.Default), 16600Row(22, TableIndex.TypeRef, EditAndContinueOperation.Default), 16601Row(23, TableIndex.TypeRef, EditAndContinueOperation.Default), 16609Handle(21, TableIndex.TypeRef), 16610Handle(22, TableIndex.TypeRef), 16611Handle(23, TableIndex.TypeRef), 17038Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 17039Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 17040Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 17045Handle(8, TableIndex.TypeRef), 17046Handle(9, TableIndex.TypeRef), 17047Handle(10, TableIndex.TypeRef),
System.Reflection.Metadata (15)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
148case TableIndex.TypeRef: SetTableCapacity(_typeRefTable, rowCount); break; 261case TableIndex.TypeRef : return _typeRefTable.Count; 333rowCounts[(int)TableIndex.TypeRef] = _typeRefTable.Count; 1652if (metadataSizes.IsPresent(TableIndex.TypeRef))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
50TableIndex.TypeRef => reader.TypeRefTable.RowSize, 131TableIndex.TypeRef => reader.TypeRefTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (6)
167TableIndex.TypeRef, 192MemberRefParentCodedIndexIsSmall = IsReferenceSmall(3, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.ModuleRef, TableIndex.MethodDef, TableIndex.TypeSpec); 198ResolutionScopeCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.Module, TableIndex.ModuleRef, TableIndex.AssemblyRef, TableIndex.TypeRef); 200TypeDefOrRefCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.TypeDef, TableIndex.TypeRef, TableIndex.TypeSpec); 211TableIndex.TypeRef, 273size += GetTableSize(TableIndex.TypeRef, resolutionScopeCodedIndexSize + stringReferenceSize + stringReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
19TypeRef = 1UL << TableIndex.TypeRef, 204internal const uint TypeRef = (uint)TableIndex.TypeRef;
System\Reflection\Metadata\MetadataReader.cs (1)
608this.TypeRefTable = new TypeRefTableReader(rowCounts[(int)TableIndex.TypeRef], resolutionScopeRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.MetadataTables.cs (1)
41Interlocked.CompareExchange(ref field, CreateTable<RoDefinitionType>(TableIndex.TypeRef), null) ??