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