Skip to content

Commit 477258a

Browse files
committed
Revert the change which caused wrong execution order of async tasks
1 parent 55473dc commit 477258a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ILRuntime/CLR/Method/CLRMethod.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ public unsafe object Invoke(Runtime.Intepreter.ILIntepreter intepreter, StackObj
333333
instance = StackObject.ToObject((Minus(esp, paramCount + 1)), appdomain, mStack);
334334
if (!(instance is Reflection.ILRuntimeWrapperType))
335335
instance = declaringType.TypeForCLR.CheckCLRTypes(instance);
336-
if (declaringType.IsValueType)
337-
instance = ILIntepreter.CheckAndCloneValueType(instance, appdomain);
336+
//if (declaringType.IsValueType)
337+
// instance = ILIntepreter.CheckAndCloneValueType(instance, appdomain);
338338
if (instance == null)
339339
throw new NullReferenceException();
340340
}

0 commit comments

Comments
 (0)