18 references to Flags
System.Private.CoreLib (18)
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (18)
832
public bool HasComponentSize => (
Flags
& enum_flag_HasComponentSize) != 0;
834
public bool ContainsGCPointers => (
Flags
& enum_flag_ContainsGCPointers) != 0;
836
public bool NonTrivialInterfaceCast => (
Flags
& enum_flag_NonTrivialInterfaceCast) != 0;
842
public bool HasFinalizer => (
Flags
& enum_flag_HasFinalizer) != 0;
846
public bool HasDefaultConstructor => (
Flags
& (enum_flag_HasComponentSize | enum_flag_HasDefaultCtor)) == enum_flag_HasDefaultCtor;
881
public bool IsInterface => (
Flags
& enum_flag_Category_Mask) == enum_flag_Category_Interface;
883
public bool IsValueType => (
Flags
& enum_flag_Category_ValueType_Mask) == enum_flag_Category_ValueType;
886
public bool IsNullable { [MethodImpl(MethodImplOptions.AggressiveInlining)] get { return (
Flags
& enum_flag_Category_Mask) == enum_flag_Category_Nullable; } }
888
public bool IsByRefLike => (
Flags
& (enum_flag_HasComponentSize | enum_flag_IsByRefLike)) == enum_flag_IsByRefLike;
891
public bool IsPrimitive => (
Flags
& enum_flag_Category_IsPrimitiveMask) == enum_flag_Category_PrimitiveValueType;
893
public bool IsTruePrimitive => (
Flags
& enum_flag_Category_Mask) is enum_flag_Category_TruePrimitive;
895
public bool IsArray => (
Flags
& enum_flag_Category_Array_Mask) == enum_flag_Category_Array;
897
public bool HasInstantiation => (
Flags
& enum_flag_HasComponentSize) == 0 && (
Flags
& enum_flag_GenericsMask) != enum_flag_GenericsMask_NonGeneric;
899
public bool IsGenericTypeDefinition => (
Flags
& (enum_flag_HasComponentSize | enum_flag_GenericsMask)) == enum_flag_GenericsMask_TypicalInst;
905
uint genericsFlags =
Flags
& (enum_flag_HasComponentSize | enum_flag_GenericsMask);
914
uint genericsFlags =
Flags
& (enum_flag_HasComponentSize | enum_flag_GenericsMask);
919
public bool ContainsGenericVariables => (
Flags
& enum_flag_ContainsGenericVariables) != 0;