-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-System.Threadingbugdesign-discussionOngoing discussion about design without consensusOngoing discussion about design without consensus
Milestone
Description
AsyncXMethodBuilder Start<> can't inline as it uses a try+finally to restore the ExecutionContext
However, the generated state machine will always capture any exception and set it in the Task.
So... Question is can the MoveNext be trusted and the the try+finally removed?
Part of investigating https://github.com/dotnet/corefx/issues/18481
/cc @stephentoub
Metadata
Metadata
Assignees
Labels
area-System.Threadingbugdesign-discussionOngoing discussion about design without consensusOngoing discussion about design without consensus