7 references to TypeLayout
Microsoft.CodeAnalysis (3)
MetadataReader\PEModule.cs (2)
970
return new
TypeLayout
(LayoutKind.Extended, 0, 0);
992
return new
TypeLayout
(kind, size, (byte)packingSize);
Symbols\Attributes\CommonAttributeData.cs (1)
566
arguments.GetOrCreateData<TTypeWellKnownAttributeData>().SetStructLayout(new
TypeLayout
(kind, size ?? 0, (byte)(alignment ?? 0)), charSet);
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceFixedFieldSymbol.cs (1)
189
return new
TypeLayout
(layoutKind, totalSize, alignment);
Symbols\Source\SourceNamedTypeSymbol.cs (2)
1546
return new
TypeLayout
(LayoutKind.Extended, 0, alignment: 0);
1562
return new
TypeLayout
(LayoutKind.Sequential, this.HasInstanceFields() ? 0 : 1, alignment: 0);
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
109
internal override TypeLayout Layout => new
TypeLayout
(_privateImplementationDetails.Layout, (int)_privateImplementationDetails.SizeOf, (byte)_privateImplementationDetails.Alignment);