20 references to AutoLayout
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
964case TypeAttributes.AutoLayout:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenFunctionPointersTests.cs (1)
12734TypeAttributes.Class | TypeAttributes.Public | TypeAttributes.AutoLayout | TypeAttributes.BeforeFieldInit,
Emit\NoPiaEmbedTypes.cs (3)
1194Assert.Equal(TypeAttributes.Public | TypeAttributes.AutoLayout | TypeAttributes.Interface | TypeAttributes.Abstract | TypeAttributes.Import | TypeAttributes.AnsiClass, itest1.Flags); 1270Assert.Equal(TypeAttributes.Public | TypeAttributes.AutoLayout | TypeAttributes.Class | TypeAttributes.Sealed | TypeAttributes.AnsiClass, test9.Flags); 1343Assert.Equal(TypeAttributes.Public | TypeAttributes.AutoLayout | TypeAttributes.Class | TypeAttributes.Sealed | TypeAttributes.AnsiClass, test11.Flags);
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)
1018Assert.Equal(TypeAttributes.Public Or TypeAttributes.AutoLayout Or TypeAttributes.Interface Or TypeAttributes.Abstract Or TypeAttributes.Import Or TypeAttributes.AnsiClass, itest1.TypeDefFlags) 1094Assert.Equal(TypeAttributes.Public Or TypeAttributes.AutoLayout Or TypeAttributes.Class Or TypeAttributes.Sealed Or TypeAttributes.AnsiClass, test9.TypeDefFlags) 1168Assert.Equal(TypeAttributes.Public Or TypeAttributes.AutoLayout Or TypeAttributes.Class Or TypeAttributes.Sealed Or TypeAttributes.AnsiClass, test11.TypeDefFlags)
System.Private.CoreLib (3)
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))
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
2273case TypeAttributes.AutoLayout: layoutKind = LayoutKind.Auto; break;
System.Reflection.Emit (2)
System\Reflection\Emit\TypeBuilderImpl.cs (2)
504LayoutKind.Auto => TypeAttributes.AutoLayout, 507_ => 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,