The Wayback Machine - http://web.archive.org/web/20220130181839/https://github.com/topics/analyzer
Skip to content
#

analyzer

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

roman-petrov
roman-petrov commented Jan 26, 2022

During code review today I just noticed a repeated pattern:

void processResponse(GetSettingsResponse settings) {
...
}

await SettingsApi().getSettings().then(processResponse);

From my knowledge of Dart, there is nothing bad in processing future results using then chain. However, my preference and (from my experience) more "standard" way to process promise results would

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