37 references to TypeCompareState
ILCompiler.ReadyToRun (37)
parent\parent\Common\JitInterface\CorInfoImpl_generated.cs (10)
287public delegate* unmanaged<IntPtr, IntPtr*, CORINFO_CLASS_STRUCT_*, CORINFO_CLASS_STRUCT_*, TypeCompareState> compareTypesForCast; 288public delegate* unmanaged<IntPtr, IntPtr*, CORINFO_CLASS_STRUCT_*, CORINFO_CLASS_STRUCT_*, TypeCompareState> compareTypesForEquality; 291public delegate* unmanaged<IntPtr, IntPtr*, CORINFO_CLASS_STRUCT_*, TypeCompareState> isGenericType; 292public delegate* unmanaged<IntPtr, IntPtr*, CORINFO_CLASS_STRUCT_*, TypeCompareState> isNullableType; 293public delegate* unmanaged<IntPtr, IntPtr*, CORINFO_CLASS_STRUCT_*, CORINFO_CLASS_STRUCT_**, TypeCompareState> isEnum; 1567private static TypeCompareState _compareTypesForCast(IntPtr thisHandle, IntPtr* ppException, CORINFO_CLASS_STRUCT_* fromClass, CORINFO_CLASS_STRUCT_* toClass) 1582private static TypeCompareState _compareTypesForEquality(IntPtr thisHandle, IntPtr* ppException, CORINFO_CLASS_STRUCT_* cls1, CORINFO_CLASS_STRUCT_* cls2) 1627private static TypeCompareState _isGenericType(IntPtr thisHandle, IntPtr* ppException, CORINFO_CLASS_STRUCT_* cls) 1642private static TypeCompareState _isNullableType(IntPtr thisHandle, IntPtr* ppException, CORINFO_CLASS_STRUCT_* cls) 1657private static TypeCompareState _isEnum(IntPtr thisHandle, IntPtr* ppException, CORINFO_CLASS_STRUCT_* cls, CORINFO_CLASS_STRUCT_** underlyingType)
parent\parent\Common\JitInterface\CorInfoImpl.cs (27)
3118private TypeCompareState compareTypesForCast(CORINFO_CLASS_STRUCT_* fromClass, CORINFO_CLASS_STRUCT_* toClass) 3123TypeCompareState result = TypeCompareState.May; 3127result = TypeCompareState.May; 3132result = TypeCompareState.May; 3138result = TypeCompareState.Must; 3140result = TypeCompareState.MustNot; 3155result = TypeCompareState.Must; 3173result = TypeCompareState.May; 3177result = TypeCompareState.May; 3181result = TypeCompareState.MustNot; 3191if (result == TypeCompareState.MustNot && !IsNegativeCastResultVersionResilient(fromType, toType)) 3193result = TypeCompareState.May; 3200private TypeCompareState compareTypesForEquality(CORINFO_CLASS_STRUCT_* cls1, CORINFO_CLASS_STRUCT_* cls2) 3207true => TypeCompareState.Must, 3208false => TypeCompareState.MustNot, 3209_ => TypeCompareState.May, 3286private TypeCompareState isGenericType(CORINFO_CLASS_STRUCT_* cls) 3292return TypeCompareState.May; 3295return type.HasInstantiation ? TypeCompareState.Must : TypeCompareState.MustNot; 3298private TypeCompareState isNullableType(CORINFO_CLASS_STRUCT_* cls) 3303return type.IsNullable ? TypeCompareState.Must : TypeCompareState.MustNot; 3306private TypeCompareState isEnum(CORINFO_CLASS_STRUCT_* cls, CORINFO_CLASS_STRUCT_** underlyingType) 3324return TypeCompareState.Must; 3328return TypeCompareState.MustNot;