210 references to TypeRef
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
127_typeRefIndex = new TypeReferenceIndex(this, lastRowId: sizes[(int)TableIndex.TypeRef]); 149sizes[(int)TableIndex.TypeRef] = _typeRefIndex.Rows.Count; 1095PopulateEncLogTableRows(TableIndex.TypeRef, previousSizes, deltaSizes); 1253case TableIndex.TypeRef: 1342TableIndex.TypeRef,
PEWriter\MetadataWriter.cs (1)
2826metadata.SetCapacity(TableIndex.TypeRef, typeRefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (116)
Emit\EditAndContinue\EditAndContinueTests.cs (116)
827Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 828Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 834Handle(7, TableIndex.TypeRef), 835Handle(8, TableIndex.TypeRef), 1184Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 1185Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 1191Handle(7, TableIndex.TypeRef), 1192Handle(8, TableIndex.TypeRef), 1222Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 1223Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 1224Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 1230Handle(9, TableIndex.TypeRef), 1231Handle(10, TableIndex.TypeRef), 1232Handle(11, TableIndex.TypeRef), 1308Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 1309Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 1310Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 1316Handle(6, TableIndex.TypeRef), 1317Handle(7, TableIndex.TypeRef), 1318Handle(8, TableIndex.TypeRef), 1346Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 1352Handle(9, TableIndex.TypeRef), 1380Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 1381Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 1382Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 1388Handle(10, TableIndex.TypeRef), 1389Handle(11, TableIndex.TypeRef), 1390Handle(12, TableIndex.TypeRef), 2935Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 2936Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 2937Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 2944Handle(6, TableIndex.TypeRef), 2945Handle(7, TableIndex.TypeRef), 2946Handle(8, TableIndex.TypeRef), 3031Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3032Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3044Handle(6, TableIndex.TypeRef), 3045Handle(7, TableIndex.TypeRef), 3078Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3079Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 3085Handle(8, TableIndex.TypeRef), 3086Handle(9, TableIndex.TypeRef), 3141Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 3142Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 3143Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 3144Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 3155Handle(10, TableIndex.TypeRef), 3156Handle(11, TableIndex.TypeRef), 3157Handle(12, TableIndex.TypeRef), 3158Handle(13, TableIndex.TypeRef), 3655Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3656Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3657Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3658Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 3659Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 3714Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 3715Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 3716Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 3717Row(14, TableIndex.TypeRef, EditAndContinueOperation.Default), 3718Row(15, TableIndex.TypeRef, EditAndContinueOperation.Default), 3719Row(16, TableIndex.TypeRef, EditAndContinueOperation.Default), 3720Row(17, TableIndex.TypeRef, EditAndContinueOperation.Default), 3721Row(18, TableIndex.TypeRef, EditAndContinueOperation.Default), 3750Handle(11, TableIndex.TypeRef), 3751Handle(12, TableIndex.TypeRef), 3752Handle(13, TableIndex.TypeRef), 3753Handle(14, TableIndex.TypeRef), 3754Handle(15, TableIndex.TypeRef), 3755Handle(16, TableIndex.TypeRef), 3756Handle(17, TableIndex.TypeRef), 3757Handle(18, TableIndex.TypeRef), 3805Row(19, TableIndex.TypeRef, EditAndContinueOperation.Default), 3806Row(20, TableIndex.TypeRef, EditAndContinueOperation.Default), 3865Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 3871Handle(6, TableIndex.TypeRef), 3918Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 3919Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 3924Handle(7, TableIndex.TypeRef), 3925Handle(8, TableIndex.TypeRef), 6647Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 6664Handle(6, TableIndex.TypeRef), 6812Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 6830Handle(6, TableIndex.TypeRef), 6975Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 6979Handle(6, TableIndex.TypeRef), 7041Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7047Handle(6, TableIndex.TypeRef), 7066Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 7070Handle(7, TableIndex.TypeRef), 7118Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7122Handle(6, TableIndex.TypeRef), 7270Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 7538Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 7542Handle(7, TableIndex.TypeRef), 7658Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 7659Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 7664Handle(12, TableIndex.TypeRef), 7665Handle(13, TableIndex.TypeRef), 7813Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 7825Handle(6, TableIndex.TypeRef), 8444Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 8449Handle(6, TableIndex.TypeRef), 12120Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 12125Handle(7, TableIndex.TypeRef), 15599Row(21, TableIndex.TypeRef, EditAndContinueOperation.Default), 15600Row(22, TableIndex.TypeRef, EditAndContinueOperation.Default), 15601Row(23, TableIndex.TypeRef, EditAndContinueOperation.Default), 15609Handle(21, TableIndex.TypeRef), 15610Handle(22, TableIndex.TypeRef), 15611Handle(23, TableIndex.TypeRef), 16029Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 16030Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 16031Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 16036Handle(8, TableIndex.TypeRef), 16037Handle(9, TableIndex.TypeRef), 16038Handle(10, TableIndex.TypeRef),
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (72)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (52)
80Row(18, TableIndex.TypeRef, EditAndContinueOperation.Default), 81Row(19, TableIndex.TypeRef, EditAndContinueOperation.Default), 82Row(20, TableIndex.TypeRef, EditAndContinueOperation.Default), 83Row(21, TableIndex.TypeRef, EditAndContinueOperation.Default), 84Row(22, TableIndex.TypeRef, EditAndContinueOperation.Default), 85Row(23, TableIndex.TypeRef, EditAndContinueOperation.Default), 86Row(24, TableIndex.TypeRef, EditAndContinueOperation.Default), 87Row(25, TableIndex.TypeRef, EditAndContinueOperation.Default), 88Row(26, TableIndex.TypeRef, EditAndContinueOperation.Default), 89Row(27, TableIndex.TypeRef, EditAndContinueOperation.Default), 90Row(28, TableIndex.TypeRef, EditAndContinueOperation.Default), 91Row(29, TableIndex.TypeRef, EditAndContinueOperation.Default), 92Row(30, TableIndex.TypeRef, EditAndContinueOperation.Default), 156Handle(18, TableIndex.TypeRef), 157Handle(19, TableIndex.TypeRef), 158Handle(20, TableIndex.TypeRef), 159Handle(21, TableIndex.TypeRef), 160Handle(22, TableIndex.TypeRef), 161Handle(23, TableIndex.TypeRef), 162Handle(24, TableIndex.TypeRef), 163Handle(25, TableIndex.TypeRef), 164Handle(26, TableIndex.TypeRef), 165Handle(27, TableIndex.TypeRef), 166Handle(28, TableIndex.TypeRef), 167Handle(29, TableIndex.TypeRef), 168Handle(30, TableIndex.TypeRef), 444Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 445Row(7, TableIndex.TypeRef, EditAndContinueOperation.Default), 446Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 447Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 448Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 449Row(11, TableIndex.TypeRef, EditAndContinueOperation.Default), 450Row(12, TableIndex.TypeRef, EditAndContinueOperation.Default), 451Row(13, TableIndex.TypeRef, EditAndContinueOperation.Default), 452Row(14, TableIndex.TypeRef, EditAndContinueOperation.Default), 453Row(15, TableIndex.TypeRef, EditAndContinueOperation.Default), 454Row(16, TableIndex.TypeRef, EditAndContinueOperation.Default), 455Row(17, TableIndex.TypeRef, EditAndContinueOperation.Default), 456Row(18, TableIndex.TypeRef, EditAndContinueOperation.Default), 491Handle(6, TableIndex.TypeRef), 492Handle(7, TableIndex.TypeRef), 493Handle(8, TableIndex.TypeRef), 494Handle(9, TableIndex.TypeRef), 495Handle(10, TableIndex.TypeRef), 496Handle(11, TableIndex.TypeRef), 497Handle(12, TableIndex.TypeRef), 498Handle(13, TableIndex.TypeRef), 499Handle(14, TableIndex.TypeRef), 500Handle(15, TableIndex.TypeRef), 501Handle(16, TableIndex.TypeRef), 502Handle(17, TableIndex.TypeRef), 503Handle(18, TableIndex.TypeRef),
Emit\EditAndContinue\EditAndContinueTests.vb (20)
207Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 208Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 213Handle(8, TableIndex.TypeRef), 214Handle(9, TableIndex.TypeRef), 370Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 373Handle(6, TableIndex.TypeRef), 453Row(5, TableIndex.TypeRef, EditAndContinueOperation.Default), 466Handle(5, TableIndex.TypeRef), 493Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 498Handle(6, TableIndex.TypeRef), 518Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 528Handle(6, TableIndex.TypeRef), 584Row(6, TableIndex.TypeRef, EditAndContinueOperation.Default), 587Handle(6, TableIndex.TypeRef), 2096Row(8, TableIndex.TypeRef, EditAndContinueOperation.Default), 2097Row(9, TableIndex.TypeRef, EditAndContinueOperation.Default), 2098Row(10, TableIndex.TypeRef, EditAndContinueOperation.Default), 2102Handle(8, TableIndex.TypeRef), 2103Handle(9, TableIndex.TypeRef), 2104Handle(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)
44Interlocked.CompareExchange(ref _lazyTypeRefTable, CreateTable<RoDefinitionType>(TableIndex.TypeRef), null) ??