ConfigureAwaitChecker icon indicating copy to clipboard operation
ConfigureAwaitChecker copied to clipboard

Consider handling ConfigureAwait overloads with ConfigureAwaitOptions

Open dotlogix opened this issue 10 months ago • 1 comments

Currently when you use ConfigureAwait with ConfigureAwaitOptions instead of a boolean you always get the warning of an explicit ConfigureAwait(true).

However when I use the new overload and I do not explicitly include ContinueOnCapturedContext it also means ConfigureAwait(false)

task.ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing)

dotlogix avatar Feb 17 '25 10:02 dotlogix

Would you be interested in sending PR?

cincuranet avatar Mar 09 '25 16:03 cincuranet