Update
This commit is contained in:
parent
4c5f9b4998
commit
6721410da4
@ -89,7 +89,7 @@ namespace SkinHide.Utils
|
|||||||
{
|
{
|
||||||
ilGen.Emit(OpCodes.Castclass, parameterTypes[i]);
|
ilGen.Emit(OpCodes.Castclass, parameterTypes[i]);
|
||||||
}
|
}
|
||||||
// DelegateparameterTypes i == parameterTypes i
|
//DelegateparameterTypes i == parameterTypes i
|
||||||
else if (DelegateparameterTypes[i] == typeof(object) && isvaluetype)
|
else if (DelegateparameterTypes[i] == typeof(object) && isvaluetype)
|
||||||
{
|
{
|
||||||
ilGen.Emit(OpCodes.Unbox_Any, parameterTypes[i]);
|
ilGen.Emit(OpCodes.Unbox_Any, parameterTypes[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user