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