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