20 references to CustomAttribute
Microsoft.CodeAnalysis (3)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
1010
: _previousGeneration.OriginalMetadata.MetadataReader.GetTableRowCount(TableIndex.
CustomAttribute
);
1365
case TableIndex.
CustomAttribute
:
1366
AddRowNumberTokens(tokens, TableIndex.
CustomAttribute
, CustomAttributeRowIds);
Microsoft.DotNet.ILAssembler (5)
EntityRegistry.cs (4)
514
foreach (CustomAttributeEntity customAttr in GetSeenEntities(TableIndex.
CustomAttribute
))
1713
RecordEntityInTable(TableIndex.
CustomAttribute
, entity);
1728
if (toRemove.Count == 0 || !_seenEntities.TryGetValue(TableIndex.
CustomAttribute
, out List<EntityBase>? entities))
1738
((IHasHandle)entities[i]).SetHandle(MetadataTokens.EntityHandle(TableIndex.
CustomAttribute
, i + 1));
PseudoCustomAttributes.cs (1)
28
foreach (var entity in registry.GetSeenEntities(TableIndex.
CustomAttribute
))
System.Reflection.Metadata (12)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (5)
156
case TableIndex.
CustomAttribute
: SetTableCapacity(_customAttributeTable, rowCount); break;
231
case TableIndex.
CustomAttribute
: return _customAttributeTable.Count;
303
rowCounts[(int)TableIndex.
CustomAttribute
] = _customAttributeTable.Count;
1692
if (metadataSizes.IsPresent(TableIndex.
CustomAttribute
))
1902
metadataSizes.IsEncDelta ? MetadataSizes.SortedTypeSystemTables & ~(1UL << (int)TableIndex.
CustomAttribute
) :
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
61
TableIndex.
CustomAttribute
=> reader.CustomAttributeTable.RowSize,
142
TableIndex.
CustomAttribute
=> reader.CustomAttributeTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (2)
26
1UL << (int)TableIndex.
CustomAttribute
|
285
size += GetTableSize(TableIndex.
CustomAttribute
, hasCustomAttributeCodedIndexSize + customAttributeTypeCodedIndexSize + blobReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
30
CustomAttribute = 1UL << TableIndex.
CustomAttribute
,
212
internal const uint CustomAttribute = (uint)TableIndex.
CustomAttribute
;
System\Reflection\Metadata\MetadataReader.cs (1)
641
this.CustomAttributeTable = new CustomAttributeTableReader(rowCounts[(int)TableIndex.
CustomAttribute
],