ITADN

Unskip AsyncInCatchFilter

#132015OpenJoeRobich 创建于 18 天前
area-CodeGen-coreclruntriaged
J
JoeRobichcommented
In the move from running against .NET 10 to .NET 11 preview, the following async runtime test failure was encountered: [CodeGenAsyncEHTests.AsyncInCatchFilter](https://github.com/dotnet/roslyn/blob/f33ae3e34c00d93ae70abf2e8f5d38ba45563405/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncEHTests.cs#L3102) ``` System.AggregateException : One or more errors occurred. (Object reference not set to an instance of an object.) ---- System.NullReferenceException : Object reference not set to an instance of an object. Stack trace at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at Test.Main() in :line 40 at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ----- Inner Stack Trace ----- at Test.G() in :line 32 at System.Runtime.CompilerServices.AsyncHelpers.RuntimeAsyncTask`1.DispatchContinuations() ```
2 条评论