22 references to TableCount
Microsoft.CodeAnalysis (5)
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
145
var sizes = new int[MetadataTokens.
TableCount
];
180
var tableSizes = new int[MetadataTokens.
TableCount
];
Emit\EditAndContinue\EmitBaseline.cs (3)
65
private static readonly ImmutableArray<int> s_emptyTableSizes = ImmutableArray.Create(new int[MetadataTokens.
TableCount
]);
337
Debug.Assert(tableEntriesAdded.Length == MetadataTokens.
TableCount
);
491
var sizes = new int[MetadataTokens.
TableCount
];
System.Reflection.Metadata (17)
System\Reflection\Metadata\Ecma335\MetadataAggregator.cs (4)
71
if (baseTableRowCounts.Count != MetadataTokens.
TableCount
)
73
throw new ArgumentException(SR.Format(SR.ExpectedListOfSize, MetadataTokens.
TableCount
), nameof(baseTableRowCounts));
116
int[] rowCounts = new int[MetadataTokens.
TableCount
];
195
var rowCounts = new RowCounts[MetadataTokens.
TableCount
][];
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (3)
292
/// An array of size <see cref="MetadataTokens.
TableCount
"/> with each item filled with the current row count of the corresponding table.
296
var rowCounts = ImmutableArray.CreateBuilder<int>(MetadataTokens.
TableCount
);
297
rowCounts.Count = MetadataTokens.
TableCount
;
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (1)
27
if ((int)tableIndex >= MetadataTokens.
TableCount
)
System\Reflection\Metadata\Ecma335\MetadataRootBuilder.cs (1)
20
internal static readonly ImmutableArray<int> EmptyRowCounts = ImmutableArray.Create(new int[MetadataTokens.
TableCount
]);
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (2)
127
Debug.Assert(rowCounts.Length == MetadataTokens.
TableCount
);
128
Debug.Assert(externalRowCounts.Length == MetadataTokens.
TableCount
);
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (1)
237
if ((int)type <
TableCount
&& ((1UL << (int)type) & (ulong)TableMask.AllTables) != 0)
System\Reflection\Metadata\Ecma335\PortablePdbBuilder.cs (3)
35
/// The length of the array must be equal to <see cref="MetadataTokens.
TableCount
"/>.
76
if (typeSystemRowCounts.Length != MetadataTokens.
TableCount
)
78
throw new ArgumentException(SR.Format(SR.ExpectedArrayOfSize, MetadataTokens.
TableCount
), nameof(typeSystemRowCounts));
System\Reflection\Metadata\MetadataReader.cs (2)
496
var rowCounts = new int[MetadataTokens.
TableCount
];
812
for (int tableIndex = 0; tableIndex < MetadataTokens.
TableCount
; tableIndex++)