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