Skip to content

Commit

Permalink
fix: function name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0o001 authored Aug 19, 2023
1 parent a429b0c commit 20d8d12
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 20d8d12

Please sign in to comment.