Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
liiir1985 committed May 1, 2020
1 parent e1d828a commit 33251d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ILRuntime/Runtime/Enviorment/InvocationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public object ReadObject(Type type)
CheckReturnValue();
return type.CheckCLRTypes(StackObject.ToObject(esp, domain, mStack));
}
public T ReadLong<T>(int index)
public T ReadObject<T>(int index)
{
var esp = ILIntepreter.Add(ebp, index);
return (T)typeof(T).CheckCLRTypes(StackObject.ToObject(esp, domain, mStack));
Expand Down

0 comments on commit 33251d9

Please sign in to comment.