We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S2674 does not take ConfigureAwait into account.
ConfigureAwait
await stream.ReadAsync(array, 0, (int)stream.Length); // Raises S2674 await stream.ReadAsync(array, 0, (int)stream.Length).ConfigureAwait(false); // Does not
Raise S2674 if ReadAsync is configured to continue on the current synchronization context.
Does not raise.
No
The text was updated successfully, but these errors were encountered:
martin-strecker-sonarsource
Successfully merging a pull request may close this issue.
Description
S2674 does not take
ConfigureAwait
into account.Repro steps
Expected behavior
Raise S2674 if ReadAsync is configured to continue on the current synchronization context.
Actual behavior
Does not raise.
Known workarounds
No
The text was updated successfully, but these errors were encountered: