Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public static unsafe object CheckCastAny(MethodTable* pTargetType, object obj)

slowPath:
// fall through to the slow helper
object objRet = ChekCastAny_NoCacheLookup(pTargetType, obj);
object objRet = CheckCastAny_NoCacheLookup(pTargetType, obj);
// Make sure that the fast helper have not lied
Debug.Assert(result != CastResult.CannotCast);
return objRet;
Expand Down Expand Up @@ -1232,7 +1232,7 @@ internal static unsafe bool AreTypesAssignableInternalUncached(MethodTable* pSou
}

[MethodImpl(MethodImplOptions.NoInlining)]
private static unsafe object ChekCastAny_NoCacheLookup(MethodTable* pTargetType, object obj)
private static unsafe object CheckCastAny_NoCacheLookup(MethodTable* pTargetType, object obj)
{
MethodTable* pSourceType = obj.GetMethodTable();
if (pTargetType->IsArray)
Expand Down