210 references to TypeRef
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
127
_typeRefIndex = new TypeReferenceIndex(this, lastRowId: sizes[(int)TableIndex.
TypeRef
]);
149
sizes[(int)TableIndex.
TypeRef
] = _typeRefIndex.Rows.Count;
1095
PopulateEncLogTableRows(TableIndex.
TypeRef
, previousSizes, deltaSizes);
1253
case TableIndex.
TypeRef
:
1342
TableIndex.
TypeRef
,
PEWriter\MetadataWriter.cs (1)
2826
metadata.SetCapacity(TableIndex.
TypeRef
, typeRefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (116)
Emit\EditAndContinue\EditAndContinueTests.cs (116)
827
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
828
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
834
Handle(7, TableIndex.
TypeRef
),
835
Handle(8, TableIndex.
TypeRef
),
1184
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1185
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1191
Handle(7, TableIndex.
TypeRef
),
1192
Handle(8, TableIndex.
TypeRef
),
1222
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1223
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1224
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1230
Handle(9, TableIndex.
TypeRef
),
1231
Handle(10, TableIndex.
TypeRef
),
1232
Handle(11, TableIndex.
TypeRef
),
1308
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1309
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1310
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1316
Handle(6, TableIndex.
TypeRef
),
1317
Handle(7, TableIndex.
TypeRef
),
1318
Handle(8, TableIndex.
TypeRef
),
1346
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1352
Handle(9, TableIndex.
TypeRef
),
1380
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1381
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1382
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1388
Handle(10, TableIndex.
TypeRef
),
1389
Handle(11, TableIndex.
TypeRef
),
1390
Handle(12, TableIndex.
TypeRef
),
2935
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
2936
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
2937
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
2944
Handle(6, TableIndex.
TypeRef
),
2945
Handle(7, TableIndex.
TypeRef
),
2946
Handle(8, TableIndex.
TypeRef
),
3031
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3032
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3044
Handle(6, TableIndex.
TypeRef
),
3045
Handle(7, TableIndex.
TypeRef
),
3078
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3079
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3085
Handle(8, TableIndex.
TypeRef
),
3086
Handle(9, TableIndex.
TypeRef
),
3141
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3142
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3143
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3144
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3155
Handle(10, TableIndex.
TypeRef
),
3156
Handle(11, TableIndex.
TypeRef
),
3157
Handle(12, TableIndex.
TypeRef
),
3158
Handle(13, TableIndex.
TypeRef
),
3655
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3656
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3657
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3658
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3659
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3714
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3715
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3716
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3717
Row(14, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3718
Row(15, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3719
Row(16, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3720
Row(17, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3721
Row(18, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3750
Handle(11, TableIndex.
TypeRef
),
3751
Handle(12, TableIndex.
TypeRef
),
3752
Handle(13, TableIndex.
TypeRef
),
3753
Handle(14, TableIndex.
TypeRef
),
3754
Handle(15, TableIndex.
TypeRef
),
3755
Handle(16, TableIndex.
TypeRef
),
3756
Handle(17, TableIndex.
TypeRef
),
3757
Handle(18, TableIndex.
TypeRef
),
3805
Row(19, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3806
Row(20, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3865
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3871
Handle(6, TableIndex.
TypeRef
),
3918
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3919
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3924
Handle(7, TableIndex.
TypeRef
),
3925
Handle(8, TableIndex.
TypeRef
),
6647
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
6664
Handle(6, TableIndex.
TypeRef
),
6812
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
6830
Handle(6, TableIndex.
TypeRef
),
6975
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
6979
Handle(6, TableIndex.
TypeRef
),
7041
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7047
Handle(6, TableIndex.
TypeRef
),
7066
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7070
Handle(7, TableIndex.
TypeRef
),
7118
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7122
Handle(6, TableIndex.
TypeRef
),
7270
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7538
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7542
Handle(7, TableIndex.
TypeRef
),
7658
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7659
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7664
Handle(12, TableIndex.
TypeRef
),
7665
Handle(13, TableIndex.
TypeRef
),
7813
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7825
Handle(6, TableIndex.
TypeRef
),
8444
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8449
Handle(6, TableIndex.
TypeRef
),
12120
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
12125
Handle(7, TableIndex.
TypeRef
),
15599
Row(21, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
15600
Row(22, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
15601
Row(23, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
15609
Handle(21, TableIndex.
TypeRef
),
15610
Handle(22, TableIndex.
TypeRef
),
15611
Handle(23, TableIndex.
TypeRef
),
16029
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16030
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16031
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16036
Handle(8, TableIndex.
TypeRef
),
16037
Handle(9, TableIndex.
TypeRef
),
16038
Handle(10, TableIndex.
TypeRef
),
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (72)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (52)
80
Row(18, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
81
Row(19, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
82
Row(20, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
83
Row(21, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
84
Row(22, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
85
Row(23, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
86
Row(24, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
87
Row(25, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
88
Row(26, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
89
Row(27, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
90
Row(28, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
91
Row(29, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
92
Row(30, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
156
Handle(18, TableIndex.
TypeRef
),
157
Handle(19, TableIndex.
TypeRef
),
158
Handle(20, TableIndex.
TypeRef
),
159
Handle(21, TableIndex.
TypeRef
),
160
Handle(22, TableIndex.
TypeRef
),
161
Handle(23, TableIndex.
TypeRef
),
162
Handle(24, TableIndex.
TypeRef
),
163
Handle(25, TableIndex.
TypeRef
),
164
Handle(26, TableIndex.
TypeRef
),
165
Handle(27, TableIndex.
TypeRef
),
166
Handle(28, TableIndex.
TypeRef
),
167
Handle(29, TableIndex.
TypeRef
),
168
Handle(30, TableIndex.
TypeRef
),
444
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
445
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
446
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
447
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
448
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
449
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
450
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
451
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
452
Row(14, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
453
Row(15, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
454
Row(16, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
455
Row(17, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
456
Row(18, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
491
Handle(6, TableIndex.
TypeRef
),
492
Handle(7, TableIndex.
TypeRef
),
493
Handle(8, TableIndex.
TypeRef
),
494
Handle(9, TableIndex.
TypeRef
),
495
Handle(10, TableIndex.
TypeRef
),
496
Handle(11, TableIndex.
TypeRef
),
497
Handle(12, TableIndex.
TypeRef
),
498
Handle(13, TableIndex.
TypeRef
),
499
Handle(14, TableIndex.
TypeRef
),
500
Handle(15, TableIndex.
TypeRef
),
501
Handle(16, TableIndex.
TypeRef
),
502
Handle(17, TableIndex.
TypeRef
),
503
Handle(18, TableIndex.
TypeRef
),
Emit\EditAndContinue\EditAndContinueTests.vb (20)
207
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
208
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
213
Handle(8, TableIndex.
TypeRef
),
214
Handle(9, TableIndex.
TypeRef
),
370
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
373
Handle(6, TableIndex.
TypeRef
),
453
Row(5, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
466
Handle(5, TableIndex.
TypeRef
),
493
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
498
Handle(6, TableIndex.
TypeRef
),
518
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
528
Handle(6, TableIndex.
TypeRef
),
584
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
587
Handle(6, TableIndex.
TypeRef
),
2096
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
2097
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
2098
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
2102
Handle(8, TableIndex.
TypeRef
),
2103
Handle(9, TableIndex.
TypeRef
),
2104
Handle(10, TableIndex.
TypeRef
),
System.Reflection.Metadata (15)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
148
case TableIndex.
TypeRef
: SetTableCapacity(_typeRefTable, rowCount); break;
261
case TableIndex.
TypeRef
: return _typeRefTable.Count;
333
rowCounts[(int)TableIndex.
TypeRef
] = _typeRefTable.Count;
1652
if (metadataSizes.IsPresent(TableIndex.
TypeRef
))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
50
TableIndex.
TypeRef
=> reader.TypeRefTable.RowSize,
131
TableIndex.
TypeRef
=> reader.TypeRefTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (6)
167
TableIndex.
TypeRef
,
192
MemberRefParentCodedIndexIsSmall = IsReferenceSmall(3, TableIndex.TypeDef, TableIndex.
TypeRef
, TableIndex.ModuleRef, TableIndex.MethodDef, TableIndex.TypeSpec);
198
ResolutionScopeCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.Module, TableIndex.ModuleRef, TableIndex.AssemblyRef, TableIndex.
TypeRef
);
200
TypeDefOrRefCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.TypeDef, TableIndex.
TypeRef
, TableIndex.TypeSpec);
211
TableIndex.
TypeRef
,
273
size += GetTableSize(TableIndex.
TypeRef
, resolutionScopeCodedIndexSize + stringReferenceSize + stringReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
19
TypeRef = 1UL << TableIndex.
TypeRef
,
204
internal const uint TypeRef = (uint)TableIndex.
TypeRef
;
System\Reflection\Metadata\MetadataReader.cs (1)
608
this.TypeRefTable = new TypeRefTableReader(rowCounts[(int)TableIndex.
TypeRef
], resolutionScopeRefSize, stringHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.MetadataTables.cs (1)
44
Interlocked.CompareExchange(ref _lazyTypeRefTable, CreateTable<RoDefinitionType>(TableIndex.
TypeRef
), null) ??