-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
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
Fix S3168 FN: Async implementation of non-async interfaces #9696
Comments
Here is the rspec PR: |
Seems a bit strange to me, the fix is pretty clear to me: make the method synchronous. @Tim-Pohlmann The entire Quoting from Microsoft here:
Should this be a separate rule then? Catching stuff like this is what we want to use the sonar scanner for in the first place. |
@qhris That is a Very valid point; thanks for your input! |
Description
Async implementations of non-async interface methods are not properly reported as an issue.
Repro steps
Minimal reproduction code:
Expected behavior
The above code should report an issue with the async void implementation of the interface.
Actual behavior
Nothing is reported.
Known workarounds
Nothing.
Related information
The text was updated successfully, but these errors were encountered: