19 references to ClassLayout
Microsoft.CodeAnalysis (3)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
1120
PopulateEncLogTableRows(TableIndex.
ClassLayout
, previousSizes, deltaSizes);
1258
case TableIndex.
ClassLayout
:
1351
TableIndex.
ClassLayout
,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\EditAndContinueTests.cs (2)
7821
Row(2, TableIndex.
ClassLayout
, EditAndContinueOperation.Default),
7831
Handle(2, TableIndex.
ClassLayout
),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_StructLayout.cs (1)
45
Assert.Equal(9, metadataReader.GetTableRowCount(TableIndex.
ClassLayout
));
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_StructLayout.vb (1)
69
Assert.Equal(9, reader.GetTableRowCount(TableIndex.
ClassLayout
))
System.Reflection.Metadata (12)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (5)
159
case TableIndex.
ClassLayout
: SetTableCapacity(_classLayoutTable, rowCount); break;
229
case TableIndex.
ClassLayout
: return _classLayoutTable.Count;
301
rowCounts[(int)TableIndex.
ClassLayout
] = _classLayoutTable.Count;
1476
Throw.InvalidOperation_TableNotSorted(TableIndex.
ClassLayout
);
1707
if (metadataSizes.IsPresent(TableIndex.
ClassLayout
))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
64
TableIndex.
ClassLayout
=> reader.ClassLayoutTable.RowSize,
145
TableIndex.
ClassLayout
=> reader.ClassLayoutTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (2)
28
1UL << (int)TableIndex.
ClassLayout
|
287
size += GetTableSize(TableIndex.
ClassLayout
, 6 + typeDefReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (1)
33
ClassLayout = 1UL << TableIndex.
ClassLayout
,
System\Reflection\Metadata\Internal\Tables.cs (1)
1035
Throw.TableNotSorted(TableIndex.
ClassLayout
);
System\Reflection\Metadata\MetadataReader.cs (1)
656
this.ClassLayoutTable = new ClassLayoutTableReader(rowCounts[(int)TableIndex.
ClassLayout
], IsDeclaredSorted(TableMask.ClassLayout), GetReferenceSize(rowCounts, TableIndex.TypeDef), metadataTablesMemoryBlock, totalRequiredSize);