22 references to FieldLayout
Microsoft.CodeAnalysis (3)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
1121PopulateEncLogTableRows(TableIndex.FieldLayout, previousSizes, deltaSizes); 1259case TableIndex.FieldLayout: 1352TableIndex.FieldLayout,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
Emit\EditAndContinue\EditAndContinueTests.cs (4)
7822Row(3, TableIndex.FieldLayout, EditAndContinueOperation.Default), 7823Row(4, TableIndex.FieldLayout, EditAndContinueOperation.Default)); 7832Handle(3, TableIndex.FieldLayout), 7833Handle(4, TableIndex.FieldLayout),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_StructLayout.cs (2)
363Assert.Equal(2, reader.GetTableRowCount(TableIndex.FieldLayout)); 411Assert.Equal(2, reader.GetTableRowCount(TableIndex.FieldLayout));
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_StructLayout.vb (1)
597Assert.Equal(2, reader.GetTableRowCount(TableIndex.FieldLayout))
System.Reflection.Metadata (12)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (5)
160case TableIndex.FieldLayout: SetTableCapacity(_fieldLayoutTable, rowCount); break; 238case TableIndex.FieldLayout : return _fieldLayoutTable.Count; 310rowCounts[(int)TableIndex.FieldLayout] = _fieldLayoutTable.Count; 1487Throw.InvalidOperation_TableNotSorted(TableIndex.FieldLayout); 1712if (metadataSizes.IsPresent(TableIndex.FieldLayout))
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (2)
65TableIndex.FieldLayout => reader.FieldLayoutTable.RowSize, 146TableIndex.FieldLayout => reader.FieldLayoutTable.Block,
System\Reflection\Metadata\Ecma335\MetadataSizes.cs (2)
291UL << (int)TableIndex.FieldLayout | 288size += GetTableSize(TableIndex.FieldLayout, 4 + fieldDefReferenceSize);
System\Reflection\Metadata\Internal\MetadataFlags.cs (1)
34FieldLayout = 1UL << TableIndex.FieldLayout,
System\Reflection\Metadata\Internal\Tables.cs (1)
1099Throw.TableNotSorted(TableIndex.FieldLayout);
System\Reflection\Metadata\MetadataReader.cs (1)
659this.FieldLayoutTable = new FieldLayoutTableReader(rowCounts[(int)TableIndex.FieldLayout], IsDeclaredSorted(TableMask.FieldLayout), GetReferenceSize(rowCounts, TableIndex.Field), metadataTablesMemoryBlock, totalRequiredSize);