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)
2856metadata.SetCapacity(TableIndex.TypeRef, typeRefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (116)
Emit\EditAndContinue\EditAndContinueTests.cs (116)
865Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 866Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 872Handle(7, TableIndex.TypeRef), 873Handle(8, TableIndex.TypeRef), 1195Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 1196Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 1202Handle(7, TableIndex.TypeRef), 1203Handle(8, TableIndex.TypeRef), 1233Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 1234Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 1235Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 1241Handle(9, TableIndex.TypeRef), 1242Handle(10, TableIndex.TypeRef), 1243Handle(11, TableIndex.TypeRef), 1319Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 1320Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 1321Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 1327Handle(6, TableIndex.TypeRef), 1328Handle(7, TableIndex.TypeRef), 1329Handle(8, TableIndex.TypeRef), 1357Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 1363Handle(9, TableIndex.TypeRef), 1391Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 1392Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 1393Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 1399Handle(10, TableIndex.TypeRef), 1400Handle(11, TableIndex.TypeRef), 1401Handle(12, TableIndex.TypeRef), 3181Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3182Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3183Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3190Handle(6, TableIndex.TypeRef), 3191Handle(7, TableIndex.TypeRef), 3192Handle(8, TableIndex.TypeRef), 3277Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3278Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3290Handle(6, TableIndex.TypeRef), 3291Handle(7, TableIndex.TypeRef), 3324Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3325Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 3331Handle(8, TableIndex.TypeRef), 3332Handle(9, TableIndex.TypeRef), 3387Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 3388Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 3389Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 3390Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 3401Handle(10, TableIndex.TypeRef), 3402Handle(11, TableIndex.TypeRef), 3403Handle(12, TableIndex.TypeRef), 3404Handle(13, TableIndex.TypeRef), 3877Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3878Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3879Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3880Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 3881Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 3936Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 3937Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 3938Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 3939Row(14, TableIndex.TypeRef, EditAndContinueOperation.Default), 3940Row(15, TableIndex.TypeRef, EditAndContinueOperation.Default), 3941Row(16, TableIndex.TypeRef, EditAndContinueOperation.Default), 3942Row(17, TableIndex.TypeRef, EditAndContinueOperation.Default), 3943Row(18, TableIndex.TypeRef, EditAndContinueOperation.Default), 3972Handle(11, TableIndex.TypeRef), 3973Handle(12, TableIndex.TypeRef), 3974Handle(13, TableIndex.TypeRef), 3975Handle(14, TableIndex.TypeRef), 3976Handle(15, TableIndex.TypeRef), 3977Handle(16, TableIndex.TypeRef), 3978Handle(17, TableIndex.TypeRef), 3979Handle(18, TableIndex.TypeRef), 4027Row(19, TableIndex.TypeRef, EditAndContinueOperation.Default), 4028Row(20, TableIndex.TypeRef, EditAndContinueOperation.Default), 4087Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 4093Handle(6, TableIndex.TypeRef), 4140Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 4141Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 4146Handle(7, TableIndex.TypeRef), 4147Handle(8, TableIndex.TypeRef), 7581Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7598Handle(6, TableIndex.TypeRef), 7746Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7764Handle(6, TableIndex.TypeRef), 7909Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7913Handle(6, TableIndex.TypeRef), 7975Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7981Handle(6, TableIndex.TypeRef), 8000Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 8004Handle(7, TableIndex.TypeRef), 8052Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 8056Handle(6, TableIndex.TypeRef), 8204Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 8455Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 8459Handle(7, TableIndex.TypeRef), 8575Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 8576Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 8581Handle(12, TableIndex.TypeRef), 8582Handle(13, TableIndex.TypeRef), 8730Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 8742Handle(6, TableIndex.TypeRef), 9361Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 9366Handle(6, TableIndex.TypeRef), 13117Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 13122Handle(7, TableIndex.TypeRef), 16600Row(21, TableIndex.TypeRef, EditAndContinueOperation.Default), 16601Row(22, TableIndex.TypeRef, EditAndContinueOperation.Default), 16602Row(23, TableIndex.TypeRef, EditAndContinueOperation.Default), 16610Handle(21, TableIndex.TypeRef), 16611Handle(22, TableIndex.TypeRef), 16612Handle(23, TableIndex.TypeRef), 17039Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 17040Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 17041Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 17046Handle(8, TableIndex.TypeRef), 17047Handle(9, TableIndex.TypeRef), 17048Handle(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) ??