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)
835
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
836
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
842
Handle(7, TableIndex.
TypeRef
),
843
Handle(8, TableIndex.
TypeRef
),
1165
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1166
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1172
Handle(7, TableIndex.
TypeRef
),
1173
Handle(8, TableIndex.
TypeRef
),
1203
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1204
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1205
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1211
Handle(9, TableIndex.
TypeRef
),
1212
Handle(10, TableIndex.
TypeRef
),
1213
Handle(11, TableIndex.
TypeRef
),
1289
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1290
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1291
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1297
Handle(6, TableIndex.
TypeRef
),
1298
Handle(7, TableIndex.
TypeRef
),
1299
Handle(8, TableIndex.
TypeRef
),
1327
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1333
Handle(9, TableIndex.
TypeRef
),
1361
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1362
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1363
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
1369
Handle(10, TableIndex.
TypeRef
),
1370
Handle(11, TableIndex.
TypeRef
),
1371
Handle(12, TableIndex.
TypeRef
),
3129
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3130
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3131
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3138
Handle(6, TableIndex.
TypeRef
),
3139
Handle(7, TableIndex.
TypeRef
),
3140
Handle(8, TableIndex.
TypeRef
),
3225
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3226
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3238
Handle(6, TableIndex.
TypeRef
),
3239
Handle(7, TableIndex.
TypeRef
),
3272
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3273
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3279
Handle(8, TableIndex.
TypeRef
),
3280
Handle(9, TableIndex.
TypeRef
),
3335
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3336
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3337
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3338
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3349
Handle(10, TableIndex.
TypeRef
),
3350
Handle(11, TableIndex.
TypeRef
),
3351
Handle(12, TableIndex.
TypeRef
),
3352
Handle(13, TableIndex.
TypeRef
),
3825
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3826
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3827
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3828
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3829
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3884
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3885
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3886
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3887
Row(14, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3888
Row(15, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3889
Row(16, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3890
Row(17, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3891
Row(18, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3920
Handle(11, TableIndex.
TypeRef
),
3921
Handle(12, TableIndex.
TypeRef
),
3922
Handle(13, TableIndex.
TypeRef
),
3923
Handle(14, TableIndex.
TypeRef
),
3924
Handle(15, TableIndex.
TypeRef
),
3925
Handle(16, TableIndex.
TypeRef
),
3926
Handle(17, TableIndex.
TypeRef
),
3927
Handle(18, TableIndex.
TypeRef
),
3975
Row(19, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
3976
Row(20, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
4035
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
4041
Handle(6, TableIndex.
TypeRef
),
4088
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
4089
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
4094
Handle(7, TableIndex.
TypeRef
),
4095
Handle(8, TableIndex.
TypeRef
),
7379
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7396
Handle(6, TableIndex.
TypeRef
),
7544
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7562
Handle(6, TableIndex.
TypeRef
),
7707
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7711
Handle(6, TableIndex.
TypeRef
),
7773
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7779
Handle(6, TableIndex.
TypeRef
),
7798
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7802
Handle(7, TableIndex.
TypeRef
),
7850
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
7854
Handle(6, TableIndex.
TypeRef
),
8002
Row(11, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8253
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8257
Handle(7, TableIndex.
TypeRef
),
8373
Row(12, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8374
Row(13, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8379
Handle(12, TableIndex.
TypeRef
),
8380
Handle(13, TableIndex.
TypeRef
),
8528
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
8540
Handle(6, TableIndex.
TypeRef
),
9159
Row(6, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
9164
Handle(6, TableIndex.
TypeRef
),
12902
Row(7, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
12907
Handle(7, TableIndex.
TypeRef
),
16385
Row(21, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16386
Row(22, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16387
Row(23, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16395
Handle(21, TableIndex.
TypeRef
),
16396
Handle(22, TableIndex.
TypeRef
),
16397
Handle(23, TableIndex.
TypeRef
),
16821
Row(8, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16822
Row(9, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16823
Row(10, TableIndex.
TypeRef
, EditAndContinueOperation.Default),
16828
Handle(8, TableIndex.
TypeRef
),
16829
Handle(9, TableIndex.
TypeRef
),
16830
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) ??