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