18 references to Flags
System.Private.CoreLib (18)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (18)
806
public bool HasComponentSize => (
Flags
& enum_flag_HasComponentSize) != 0;
808
public bool ContainsGCPointers => (
Flags
& enum_flag_ContainsGCPointers) != 0;
810
public bool NonTrivialInterfaceCast => (
Flags
& enum_flag_NonTrivialInterfaceCast) != 0;
816
public bool HasFinalizer => (
Flags
& enum_flag_HasFinalizer) != 0;
820
public bool HasDefaultConstructor => (
Flags
& (enum_flag_HasComponentSize | enum_flag_HasDefaultCtor)) == enum_flag_HasDefaultCtor;
845
public bool IsInterface => (
Flags
& enum_flag_Category_Mask) == enum_flag_Category_Interface;
847
public bool IsValueType => (
Flags
& enum_flag_Category_ValueType_Mask) == enum_flag_Category_ValueType;
850
public bool IsNullable { [MethodImpl(MethodImplOptions.AggressiveInlining)] get { return (
Flags
& enum_flag_Category_Mask) == enum_flag_Category_Nullable; } }
852
public bool IsByRefLike => (
Flags
& (enum_flag_HasComponentSize | enum_flag_IsByRefLike)) == enum_flag_IsByRefLike;
855
public bool IsPrimitive => (
Flags
& enum_flag_Category_IsPrimitiveMask) == enum_flag_Category_PrimitiveValueType;
857
public bool IsTruePrimitive => (
Flags
& enum_flag_Category_Mask) is enum_flag_Category_TruePrimitive;
859
public bool IsArray => (
Flags
& enum_flag_Category_Array_Mask) == enum_flag_Category_Array;
861
public bool HasInstantiation => (
Flags
& enum_flag_HasComponentSize) == 0 && (
Flags
& enum_flag_GenericsMask) != enum_flag_GenericsMask_NonGeneric;
863
public bool IsGenericTypeDefinition => (
Flags
& (enum_flag_HasComponentSize | enum_flag_GenericsMask)) == enum_flag_GenericsMask_TypicalInst;
869
uint genericsFlags =
Flags
& (enum_flag_HasComponentSize | enum_flag_GenericsMask);
878
uint genericsFlags =
Flags
& (enum_flag_HasComponentSize | enum_flag_GenericsMask);
883
public bool ContainsGenericVariables => (
Flags
& enum_flag_ContainsGenericVariables) != 0;