WFO2001: Analyzer doesn't trigger the 'wrong async overload' warning with implicit member access. #13237
Open
Labels
area-Analyzers/CodeFixes
A Roslyn Analyzer is either needed for the context, needs to be scope extended or fixed.
There are 2 ways to use
InvokeAsync
- from the outside, which always needs explicit member access, and from the inside, which can be using explicit member access (this
orMe
in VB), but usually, we do not do it and use it implicitly. Inside most Microsoft repos, .editorconfig is even configures to make the explicit usage where implicit is possible an error (see code sample below).For the implicit member access, the WFO2001 Analyzer is not being triggered.
The text was updated successfully, but these errors were encountered: