19 references to LayoutMask
ILAssembler (4)
EntityRegistry.cs (1)
291|| (type.Attributes & TypeAttributes.LayoutMask) is TypeAttributes.ExplicitLayout)
GrammarVisitor.cs (3)
1031return new((new(TypeAttributes.AutoLayout, TypeAttributes.LayoutMask), null, false)); 1033return new((new(TypeAttributes.SequentialLayout, TypeAttributes.LayoutMask), null, false)); 1035return new((new(TypeAttributes.ExtendedLayout, TypeAttributes.LayoutMask), null, false));
ILCompiler.TypeSystem (7)
parent\parent\Common\TypeSystem\Ecma\EcmaType.cs (7)
557if ((Attributes & TypeAttributes.LayoutMask) == TypeAttributes.SequentialLayout) 561else if ((Attributes & TypeAttributes.LayoutMask) == TypeAttributes.ExplicitLayout) 565else if ((Attributes & TypeAttributes.LayoutMask) == TypeAttributesExtendedLayout) 612return (_typeDefinition.Attributes & TypeAttributes.LayoutMask) == TypeAttributes.ExplicitLayout; 620return (_typeDefinition.Attributes & TypeAttributes.LayoutMask) == TypeAttributes.SequentialLayout; 628return (_typeDefinition.Attributes & TypeAttributes.LayoutMask) == TypeAttributesExtendedLayout; 636return (_typeDefinition.Attributes & TypeAttributes.LayoutMask) == TypeAttributes.AutoLayout;
Microsoft.CodeAnalysis (2)
MetadataReader\PEModule.cs (2)
954switch (def.Attributes & TypeAttributes.LayoutMask) 968if ((def.Attributes & TypeAttributes.LayoutMask) == TypeAttributes.ExtendedLayout)
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (3)
113public bool IsAutoLayout => (GetAttributeFlagsImpl() & TypeAttributes.LayoutMask) == TypeAttributes.AutoLayout; 114public bool IsExplicitLayout => (GetAttributeFlagsImpl() & TypeAttributes.LayoutMask) == TypeAttributes.ExplicitLayout; 115public bool IsLayoutSequential => (GetAttributeFlagsImpl() & TypeAttributes.LayoutMask) == TypeAttributes.SequentialLayout;
System\Reflection\Runtime\TypeInfos\RuntimeNamedTypeInfo.cs (1)
107switch (attributes & TypeAttributes.LayoutMask)
System.Reflection.Emit (1)
System\Reflection\Emit\TypeBuilderImpl.cs (1)
500_attributes &= ~TypeAttributes.LayoutMask;
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
159LayoutKind layoutKind = (attributes & TypeAttributes.LayoutMask) switch