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