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;
1103
PopulateEncLogTableRows(TableIndex.
AssemblyRef
, previousSizes, deltaSizes);
1283
case TableIndex.
AssemblyRef
:
1379
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
));
2884
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
2904
Handle(2, TableIndex.
AssemblyRef
));
2981
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3006
Handle(2, TableIndex.
AssemblyRef
));
3028
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3043
Handle(3, TableIndex.
AssemblyRef
));
3092
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3119
Handle(2, TableIndex.
AssemblyRef
));
3580
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3638
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3708
Handle(3, TableIndex.
AssemblyRef
));
3732
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3791
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3803
Handle(2, TableIndex.
AssemblyRef
));
3845
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
3856
Handle(2, TableIndex.
AssemblyRef
));
6878
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
6907
Handle(2, TableIndex.
AssemblyRef
),
7039
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7076
Handle(2, TableIndex.
AssemblyRef
),
7207
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7214
Handle(2, TableIndex.
AssemblyRef
));
7273
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7283
Handle(2, TableIndex.
AssemblyRef
));
7298
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7305
Handle(3, TableIndex.
AssemblyRef
));
7349
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7358
Handle(2, TableIndex.
AssemblyRef
));
7502
Row(4, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7753
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7760
Handle(2, TableIndex.
AssemblyRef
));
7873
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
7884
Handle(2, TableIndex.
AssemblyRef
));
8027
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
8050
Handle(2, TableIndex.
AssemblyRef
));
8659
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
8667
Handle(2, TableIndex.
AssemblyRef
));
12334
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
12343
Handle(2, TableIndex.
AssemblyRef
));
15817
Row(3, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
15836
Handle(3, TableIndex.
AssemblyRef
));
16251
Row(2, TableIndex.
AssemblyRef
, EditAndContinueOperation.Default),
16268
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)
66
Interlocked.CompareExchange(ref _lazyAssemblyRefTable, CreateTable<RoAssembly>(TableIndex.
AssemblyRef
), null) ??