Skip to content
#

analyzer

Here are 707 public repositories matching this topic...

rwv37
rwv37 commented Jan 27, 2022

Is your feature request related to a problem? Please describe.

No, I wouldn't say it's a "problem", but: At least for me, when VSTHRD111 happens, and I "Alt-Enter" to get to the suggested code fixes, the first code fix listed is always to use ConfigureAwait(true). Since it is the first listed, it is the default choice when you hit "Alt-Enter" then "Enter".

In my experience, that's a

ookami-kb
ookami-kb commented May 4, 2022

Please describe what the rule should do:

I'd like to have a more specialized version of ban-name rule – instead of banning by the name, it should rather ban usage of certain methods.

E.g., I would like to ban usage of List.sort() methods, but I'm totally fine with using other methods named sort.

It should provide a method to use instead. As an advanced version, it could provide

type: enhancement good first issue area-rules

Improve this page

Add a description, image, and links to the analyzer topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the analyzer topic, visit your repo's landing page and select "manage topics."

Learn more