107 references to AssemblyRef
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
119
_assemblyRefIndex = new HeapOrReferenceIndex<AssemblyIdentity>(this, lastRowId: sizes[(int)TableIndex.
AssemblyRef
]);
173
sizes[(int)TableIndex.
AssemblyRef
] = _assemblyRefIndex.Rows.Count;
1104
PopulateEncLogTableRows(TableIndex.
AssemblyRef
, previousSizes, deltaSizes);
1284
case TableIndex.
AssemblyRef
:
1380
TableIndex.
AssemblyRef
,
PEWriter\MetadataWriter.cs (1)
1961
metadata.SetCapacity(TableIndex.
AssemblyRef
, assemblyRefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (55)
Emit\EditAndContinue\EditAndContinueTests.cs (55)
829
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
844
Handle(2, TableIndex.
AssemblyRef
));
1171
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1186
Handle(2, TableIndex.
AssemblyRef
));
1208
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1227
Handle(3, TableIndex.
AssemblyRef
));
1294
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1313
Handle(2, TableIndex.
AssemblyRef
));
1334
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1345
Handle(3, TableIndex.
AssemblyRef
));
1366
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1385
Handle(4, TableIndex.
AssemblyRef
));
3134
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3154
Handle(2, TableIndex.
AssemblyRef
));
3231
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3256
Handle(2, TableIndex.
AssemblyRef
));
3278
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3293
Handle(3, TableIndex.
AssemblyRef
));
3342
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3369
Handle(2, TableIndex.
AssemblyRef
));
3830
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3888
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3958
Handle(3, TableIndex.
AssemblyRef
));
3982
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
4041
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
4053
Handle(2, TableIndex.
AssemblyRef
));
4095
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
4106
Handle(2, TableIndex.
AssemblyRef
));
7128
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7157
Handle(2, TableIndex.
AssemblyRef
),
7289
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7326
Handle(2, TableIndex.
AssemblyRef
),
7457
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7464
Handle(2, TableIndex.
AssemblyRef
));
7523
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7533
Handle(2, TableIndex.
AssemblyRef
));
7548
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7555
Handle(3, TableIndex.
AssemblyRef
));
7599
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7608
Handle(2, TableIndex.
AssemblyRef
));
7752
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
8003
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
8010
Handle(2, TableIndex.
AssemblyRef
));
8123
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
8134
Handle(2, TableIndex.
AssemblyRef
));
8277
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
8300
Handle(2, TableIndex.
AssemblyRef
));
8909
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
8917
Handle(2, TableIndex.
AssemblyRef
));
12652
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
12661
Handle(2, TableIndex.
AssemblyRef
));
16135
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
16154
Handle(3, TableIndex.
AssemblyRef
));
16569
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
16586
Handle(2, TableIndex.
AssemblyRef
));
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (24)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (6)
66
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
227
Handle(2, TableIndex.
AssemblyRef
),
420
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
421
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
546
Handle(2, TableIndex.
AssemblyRef
),
547
Handle(3, TableIndex.
AssemblyRef
),
Emit\EditAndContinue\EditAndContinueTests.vb (18)
204
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
205
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
219
Handle(3, TableIndex.
AssemblyRef
),
220
Handle(4, TableIndex.
AssemblyRef
))
369
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
375
Handle(2, TableIndex.
AssemblyRef
))
449
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
479
Handle(2, TableIndex.
AssemblyRef
))
492
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
502
Handle(3, TableIndex.
AssemblyRef
))
515
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
537
Handle(3, TableIndex.
AssemblyRef
))
582
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
590
Handle(2, TableIndex.
AssemblyRef
))
2104
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
2105
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
2121
Handle(3, TableIndex.
AssemblyRef
),
2122
Handle(4, TableIndex.
AssemblyRef
))
Microsoft.DotNet.GenFacades (3)
ClearAssemblyReferenceVersions.cs (3)
36
int assemblyRefOffset = mdReader.GetTableMetadataOffset(TableIndex.
AssemblyRef
);
37
int numAssemblyRef = mdReader.GetTableRowCount(TableIndex.
AssemblyRef
);
38
int sizeAssemblyRefRow = mdReader.GetTableRowSize(TableIndex.
AssemblyRef
);
Microsoft.DotNet.PackageTesting (1)
VerifyClosure.cs (1)
457
var count = reader.GetTableRowCount(TableIndex.
AssemblyRef
);
Microsoft.DotNet.SharedFramework.Sdk (1)
src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (1)
457
var count = reader.GetTableRowCount(TableIndex.
AssemblyRef
);
System.Reflection.Metadata (16)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
175
case TableIndex.
AssemblyRef
: SetTableCapacity(_assemblyRefTable, rowCount); break;
228
case TableIndex.
AssemblyRef
: return _assemblyRefTable.Count;
300
rowCounts[(int)TableIndex.
AssemblyRef
] = _assemblyRefTable.Count;
1787
if (metadataSizes.IsPresent(TableIndex.
AssemblyRef
))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
84
TableIndex.
AssemblyRef
=> reader.AssemblyRefTable.RowSize,
165
TableIndex.
AssemblyRef
=> reader.AssemblyRefTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (5)
180
TableIndex.
AssemblyRef
,
190
ImplementationCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.File, TableIndex.
AssemblyRef
, TableIndex.ExportedType);
198
ResolutionScopeCodedIndexIsSmall = IsReferenceSmall(2, TableIndex.Module, TableIndex.ModuleRef, TableIndex.
AssemblyRef
, TableIndex.TypeRef);
224
TableIndex.
AssemblyRef
,
307
size += GetTableSize(TableIndex.
AssemblyRef
, 12 + blobReferenceSize + stringReferenceSize + stringReferenceSize + blobReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
53
AssemblyRef = 1UL << TableIndex.
AssemblyRef
,
224
internal const uint AssemblyRef = (uint)TableIndex.
AssemblyRef
;
System\Reflection\Metadata\MetadataReader.cs (3)
716
this.AssemblyRefTable = new AssemblyRefTableReader(rowCounts[(int)TableIndex.
AssemblyRef
], stringHeapRefSize, blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize, _metadataKind);
719
this.AssemblyRefProcessorTable = new AssemblyRefProcessorTableReader(rowCounts[(int)TableIndex.AssemblyRefProcessor], GetReferenceSize(rowCounts, TableIndex.
AssemblyRef
), metadataTablesMemoryBlock, totalRequiredSize);
722
this.AssemblyRefOSTable = new AssemblyRefOSTableReader(rowCounts[(int)TableIndex.AssemblyRefOS], GetReferenceSize(rowCounts, TableIndex.
AssemblyRef
), metadataTablesMemoryBlock, totalRequiredSize);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.MetadataTables.cs (1)
51
Interlocked.CompareExchange(ref field, CreateTable<RoAssembly>(TableIndex.
AssemblyRef
), null) ??