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