138 references to TypeRef
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
123
_typeRefIndex = new TypeReferenceIndex(this, lastRowId: sizes[(int)TableIndex.
TypeRef
]);
159
sizes[(int)TableIndex.
TypeRef
] = _typeRefIndex.Rows.Count;
1145
PopulateEncLogTableRows(TableIndex.
TypeRef
, previousSizes, deltaSizes);
1303
case TableIndex.
TypeRef
:
1392
TableIndex.
TypeRef
,
PEWriter\MetadataWriter.cs (1)
2844
metadata.SetCapacity(TableIndex.
TypeRef
, typeRefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (116)
Emit\EditAndContinue\EditAndContinueTests.cs (116)
864
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
865
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
871
Handle(7, TableIndex.
TypeRef
),
872
Handle(8, TableIndex.
TypeRef
),
1194
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1195
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1201
Handle(7, TableIndex.
TypeRef
),
1202
Handle(8, TableIndex.
TypeRef
),
1232
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1233
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1234
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1240
Handle(9, TableIndex.
TypeRef
),
1241
Handle(10, TableIndex.
TypeRef
),
1242
Handle(11, TableIndex.
TypeRef
),
1318
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1319
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1320
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1326
Handle(6, TableIndex.
TypeRef
),
1327
Handle(7, TableIndex.
TypeRef
),
1328
Handle(8, TableIndex.
TypeRef
),
1356
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1362
Handle(9, TableIndex.
TypeRef
),
1390
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1391
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1392
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1398
Handle(10, TableIndex.
TypeRef
),
1399
Handle(11, TableIndex.
TypeRef
),
1400
Handle(12, TableIndex.
TypeRef
),
3180
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3181
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3182
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3189
Handle(6, TableIndex.
TypeRef
),
3190
Handle(7, TableIndex.
TypeRef
),
3191
Handle(8, TableIndex.
TypeRef
),
3276
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3277
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3289
Handle(6, TableIndex.
TypeRef
),
3290
Handle(7, TableIndex.
TypeRef
),
3323
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3324
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3330
Handle(8, TableIndex.
TypeRef
),
3331
Handle(9, TableIndex.
TypeRef
),
3386
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3387
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3388
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3389
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3400
Handle(10, TableIndex.
TypeRef
),
3401
Handle(11, TableIndex.
TypeRef
),
3402
Handle(12, TableIndex.
TypeRef
),
3403
Handle(13, TableIndex.
TypeRef
),
3876
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3877
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3878
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3879
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3880
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3935
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3936
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3937
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3938
Row(14, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3939
Row(15, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3940
Row(16, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3941
Row(17, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3942
Row(18, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3971
Handle(11, TableIndex.
TypeRef
),
3972
Handle(12, TableIndex.
TypeRef
),
3973
Handle(13, TableIndex.
TypeRef
),
3974
Handle(14, TableIndex.
TypeRef
),
3975
Handle(15, TableIndex.
TypeRef
),
3976
Handle(16, TableIndex.
TypeRef
),
3977
Handle(17, TableIndex.
TypeRef
),
3978
Handle(18, TableIndex.
TypeRef
),
4026
Row(19, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
4027
Row(20, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
4086
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
4092
Handle(6, TableIndex.
TypeRef
),
4139
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
4140
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
4145
Handle(7, TableIndex.
TypeRef
),
4146
Handle(8, TableIndex.
TypeRef
),
7580
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7597
Handle(6, TableIndex.
TypeRef
),
7745
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7763
Handle(6, TableIndex.
TypeRef
),
7908
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7912
Handle(6, TableIndex.
TypeRef
),
7974
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7980
Handle(6, TableIndex.
TypeRef
),
7999
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8003
Handle(7, TableIndex.
TypeRef
),
8051
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8055
Handle(6, TableIndex.
TypeRef
),
8203
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8454
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8458
Handle(7, TableIndex.
TypeRef
),
8574
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8575
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8580
Handle(12, TableIndex.
TypeRef
),
8581
Handle(13, TableIndex.
TypeRef
),
8729
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8741
Handle(6, TableIndex.
TypeRef
),
9360
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
9365
Handle(6, TableIndex.
TypeRef
),
13116
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
13121
Handle(7, TableIndex.
TypeRef
),
16599
Row(21, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16600
Row(22, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16601
Row(23, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16609
Handle(21, TableIndex.
TypeRef
),
16610
Handle(22, TableIndex.
TypeRef
),
16611
Handle(23, TableIndex.
TypeRef
),
17038
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
17039
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
17040
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
17045
Handle(8, TableIndex.
TypeRef
),
17046
Handle(9, TableIndex.
TypeRef
),
17047
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)
41
Interlocked.CompareExchange(ref field, CreateTable<RoDefinitionType>(TableIndex.
TypeRef
), null) ??