Skip to content
#

analyzer

Here are 695 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

NickBalnaves
NickBalnaves commented Mar 19, 2022

Please describe what the rule should do:
If 0 values are mostly passed into EdgeInsets.fromLTRB then it makes sense to use EdgeInsets.only for only the values that are to be used.
Also if there are symmetric values passed into EdgeInsets.fromLTRB or EdgeInsets.only then it makes sense to convert this into the EdgeInsets.symmetric equivalent.
In general I also find EdgeInsets.fromLTRB less

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