15 overrides of Layout
Microsoft.CodeAnalysis.CSharp (14)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
225internal sealed override TypeLayout Layout
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
289internal sealed override TypeLayout Layout
Symbols\ErrorTypeSymbol.cs (1)
497internal sealed override TypeLayout Layout
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2647internal override TypeLayout Layout
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
131internal sealed override TypeLayout Layout
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1507internal sealed override TypeLayout Layout
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
199internal override TypeLayout Layout => default;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
912internal override TypeLayout Layout => default;
Symbols\Synthesized\SynthesizedContainer.cs (1)
204internal override TypeLayout Layout => default(TypeLayout);
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
136internal override TypeLayout Layout => default;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
132internal override TypeLayout Layout => default;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
122internal override TypeLayout Layout => default;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
105internal override TypeLayout Layout => new TypeLayout(_privateImplementationDetails.Layout, (int)_privateImplementationDetails.SizeOf, (byte)_privateImplementationDetails.Alignment);
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
214internal override TypeLayout Layout
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\MockNamedTypeSymbol.cs (1)
299internal override TypeLayout Layout
12 references to Layout
Microsoft.CodeAnalysis.CSharp (8)
Emitter\Model\NamedTypeSymbolAdapter.cs (3)
739var layout = AdaptedNamedTypeSymbol.Layout; 749return AdaptedNamedTypeSymbol.Layout.Kind; 758return (uint)AdaptedNamedTypeSymbol.Layout.Size;
Emitter\NoPia\EmbeddedType.cs (1)
230return UnderlyingNamedType.AdaptedNamedTypeSymbol.Layout;
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (2)
328if (this.ContainingType.Layout.Kind != LayoutKind.Explicit) 339if (this.ContainingType.Layout.Kind == LayoutKind.Explicit)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3038if (!IsPartial || this.Layout.Kind != LayoutKind.Sequential)
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
216get { return _underlyingType.Layout; }
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\FixedSizeBufferTests.cs (4)
994Assert.Equal(layout, test.Layout.Kind); 999Assert.Equal(LayoutKind.Sequential, bufferType.Layout.Kind); 1026Assert.Equal(layout, test.Layout.Kind); 1031Assert.Equal(LayoutKind.Sequential, bufferType.Layout.Kind);