107 references to AssemblyRef
Microsoft.CodeAnalysis (6)
Emit\EditAndContinue\DeltaMetadataWriter.cs (5)
123
_assemblyRefIndex = new HeapOrReferenceIndex<AssemblyIdentity>(this, lastRowId: sizes[(int)TableIndex.
AssemblyRef
]);
163
sizes[(int)TableIndex.
AssemblyRef
] = _assemblyRefIndex.Rows.Count;
1091
PopulateEncLogTableRows(TableIndex.
AssemblyRef
, previousSizes, deltaSizes);
1271
case TableIndex.
AssemblyRef
:
1369
TableIndex.
AssemblyRef
,
PEWriter\MetadataWriter.cs (1)
1956
metadata.SetCapacity(TableIndex.
AssemblyRef
, assemblyRefs.Count);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (55)
Emit\EditAndContinue\EditAndContinueTests.cs (55)
825
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
840
Handle(2, TableIndex.
AssemblyRef
));
1182
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1197
Handle(2, TableIndex.
AssemblyRef
));
1219
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1238
Handle(3, TableIndex.
AssemblyRef
));
1305
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1324
Handle(2, TableIndex.
AssemblyRef
));
1345
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1356
Handle(3, TableIndex.
AssemblyRef
));
1377
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1396
Handle(4, TableIndex.
AssemblyRef
));
2932
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
2952
Handle(2, TableIndex.
AssemblyRef
));
3029
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3054
Handle(2, TableIndex.
AssemblyRef
));
3076
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3091
Handle(3, TableIndex.
AssemblyRef
));
3140
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3167
Handle(2, TableIndex.
AssemblyRef
));
3652
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3710
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3780
Handle(3, TableIndex.
AssemblyRef
));
3804
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3863
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3875
Handle(2, TableIndex.
AssemblyRef
));
3917
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3928
Handle(2, TableIndex.
AssemblyRef
));
6645
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
6674
Handle(2, TableIndex.
AssemblyRef
),
6806
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
6843
Handle(2, TableIndex.
AssemblyRef
),
6974
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
6981
Handle(2, TableIndex.
AssemblyRef
));
7040
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7050
Handle(2, TableIndex.
AssemblyRef
));
7065
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7072
Handle(3, TableIndex.
AssemblyRef
));
7116
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7125
Handle(2, TableIndex.
AssemblyRef
));
7269
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7537
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7544
Handle(2, TableIndex.
AssemblyRef
));
7657
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7668
Handle(2, TableIndex.
AssemblyRef
));
7811
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7834
Handle(2, TableIndex.
AssemblyRef
));
8443
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
8451
Handle(2, TableIndex.
AssemblyRef
));
12119
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
12128
Handle(2, TableIndex.
AssemblyRef
));
15598
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
15617
Handle(3, TableIndex.
AssemblyRef
));
16026
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
16043
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
))
2092
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
2093
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
2109
Handle(3, TableIndex.
AssemblyRef
),
2110
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)
66
Interlocked.CompareExchange(ref _lazyAssemblyRefTable, CreateTable<RoAssembly>(TableIndex.
AssemblyRef
), null) ??