27 references to Constant
Microsoft.CodeAnalysis (3)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
1110PopulateEncLogTableRows(TableIndex.Constant, previousSizes, deltaSizes); 1256case TableIndex.Constant: 1348TableIndex.Constant,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (8)
Emit\EditAndContinue\EditAndContinueTests.cs (8)
3280Row(2, TableIndex.Constant, EditAndContinueOperation.Default), 3297Handle(2, TableIndex.Constant), 3377Row(3, TableIndex.Constant, EditAndContinueOperation.Default), 3394Handle(3, TableIndex.Constant), 3474Row(1, TableIndex.Constant, EditAndContinueOperation.Default), 3481Handle(1, TableIndex.Constant), 3506Row(2, TableIndex.Constant, EditAndContinueOperation.Default), 3513Handle(2, TableIndex.Constant),
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\MetadataReaderUtils.cs (1)
28for (int i = 1, n = reader.GetTableRowCount(TableIndex.Constant); i <= n; i++)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Semantics\FieldInitializerBindingTests.vb (3)
899Assert.Equal(6, reader.GetTableRowCount(TableIndex.Constant)) 967Assert.Equal(10, reader.GetTableRowCount(TableIndex.Constant)) 1305Assert.Equal(FIELD_COUNT - ATTR_CONST_COUNT + ENUM_CONST_COUNT, reader.GetTableRowCount(TableIndex.Constant))
System.Reflection.Metadata (12)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (4)
155case TableIndex.Constant: SetTableCapacity(_constantTable, rowCount); break; 230case TableIndex.Constant : return _constantTable.Count; 302rowCounts[(int)TableIndex.Constant] = _constantTable.Count; 1687if (metadataSizes.IsPresent(TableIndex.Constant))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
60TableIndex.Constant => reader.ConstantTable.RowSize, 141TableIndex.Constant => reader.ConstantTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (2)
241UL << (int)TableIndex.Constant | 283size += GetTableSize(TableIndex.Constant, 2 + hasConstantCodedIndexSize + blobReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (2)
29Constant = 1UL << TableIndex.Constant, 211internal const uint Constant = (uint)TableIndex.Constant;
System\Reflection\Metadata\Internal\Tables.cs (1)
708Throw.TableNotSorted(TableIndex.Constant);
System\Reflection\Metadata\MetadataReader.cs (1)
638this.ConstantTable = new ConstantTableReader(rowCounts[(int)TableIndex.Constant], IsDeclaredSorted(TableMask.Constant), hasConstantRefSize, blobHeapRefSize, metadataTablesMemoryBlock, totalRequiredSize);