In the move from running against .NET 10 to .NET 11 preview, the following async runtime test failure was encountered:
System.NullReferenceException : Object reference not set to an instance of an object.
Stack trace
at C.M2(String caller, Exception ex) in :line 64
at C.M1(Boolean catchFirst1, Boolean catchFirst2) in :line 44
at C.Main() in :line 14
at C.<Main>()
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
In the move from running against .NET 10 to .NET 11 preview, the following async runtime test failure was encountered:
CodeGenAsyncEHTests.NestedCatch_DuplicateLocal_Level2