16 references to AutoLayout
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
963case TypeAttributes.AutoLayout:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenFunctionPointersTests.cs (1)
12734TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.AutoLayout | TypeAttributes.BeforeFieldInit,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Attributes\AttributeTests_StructLayout.cs (2)
177TypeAttributes expectedKind = TypeAttributes.AutoLayout; 186expectedKind = TypeAttributes.AutoLayout;
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\Custom\MetadataSignatureHelper.cs (1)
367case TypeAttributes.AutoLayout: layout = "auto"; break;
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (5)
Attributes\AttributeTests_StructLayout.vb (2)
361Dim expectedKind As TypeAttributes = TypeAttributes.AutoLayout 367expectedKind = TypeAttributes.AutoLayout
Emit\NoPiaEmbedTypes.vb (3)
1020Assert.Equal(TypeAttributes.Public Or TypeAttributes.AutoLayout Or TypeAttributes.Interface Or TypeAttributes.Abstract Or TypeAttributes.Import Or TypeAttributes.AnsiClass, itest1.TypeDefFlags) 1096Assert.Equal(TypeAttributes.Public Or TypeAttributes.AutoLayout Or TypeAttributes.Class Or TypeAttributes.Sealed Or TypeAttributes.AnsiClass, test9.TypeDefFlags) 1170Assert.Equal(TypeAttributes.Public Or TypeAttributes.AutoLayout Or TypeAttributes.Class Or TypeAttributes.Sealed Or TypeAttributes.AnsiClass, test11.TypeDefFlags)
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
113public bool IsAutoLayout => (GetAttributeFlagsImpl() & TypeAttributes.LayoutMask) == TypeAttributes.AutoLayout;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
523if (((attr & TypeAttributes.LayoutMask) != TypeAttributes.AutoLayout) && ((attr & TypeAttributes.LayoutMask) != TypeAttributes.SequentialLayout) && ((attr & TypeAttributes.LayoutMask) != TypeAttributes.ExplicitLayout))
System.Reflection.Emit (2)
System\Reflection\Emit\TypeBuilderImpl.cs (2)
515LayoutKind.Auto => TypeAttributes.AutoLayout, 518_ => TypeAttributes.AutoLayout,
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Types\RoArrayType.cs (1)
70protected sealed override TypeAttributes ComputeAttributeFlags() => TypeAttributes.AutoLayout | TypeAttributes.AnsiClass | TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.Sealed | TypeAttributes.Serializable;
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
159TypeAttributes.AutoLayout => LayoutKind.Auto,