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