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
));
1167
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1182
Handle(2, TableIndex.
AssemblyRef
));
1204
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1223
Handle(3, TableIndex.
AssemblyRef
));
1290
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1309
Handle(2, TableIndex.
AssemblyRef
));
1330
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1341
Handle(3, TableIndex.
AssemblyRef
));
1362
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
1381
Handle(4, TableIndex.
AssemblyRef
));
2871
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
2891
Handle(2, TableIndex.
AssemblyRef
));
2968
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
2993
Handle(2, TableIndex.
AssemblyRef
));
3015
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3030
Handle(3, TableIndex.
AssemblyRef
));
3079
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3106
Handle(2, TableIndex.
AssemblyRef
));
3567
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3625
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3695
Handle(3, TableIndex.
AssemblyRef
));
3719
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3778
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3790
Handle(2, TableIndex.
AssemblyRef
));
3832
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3843
Handle(2, TableIndex.
AssemblyRef
));
6560
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
6589
Handle(2, TableIndex.
AssemblyRef
),
6721
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
6758
Handle(2, TableIndex.
AssemblyRef
),
6889
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
6896
Handle(2, TableIndex.
AssemblyRef
));
6955
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
6965
Handle(2, TableIndex.
AssemblyRef
));
6980
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
6987
Handle(3, TableIndex.
AssemblyRef
));
7031
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7040
Handle(2, TableIndex.
AssemblyRef
));
7184
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7435
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7442
Handle(2, TableIndex.
AssemblyRef
));
7555
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7566
Handle(2, TableIndex.
AssemblyRef
));
7709
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7732
Handle(2, TableIndex.
AssemblyRef
));
8341
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
8349
Handle(2, TableIndex.
AssemblyRef
));
12017
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
12026
Handle(2, TableIndex.
AssemblyRef
));
15496
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
15515
Handle(3, TableIndex.
AssemblyRef
));
15924
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
15941
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) ??