You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Async implementations of non-async interface methods are not properly reported as an issue.
Repro steps
Minimal reproduction code:
publicinterfaceITestReproduction{voidTestMethod();}publicclassTestReproduction:ITestReproduction{asyncvoidTestMethod()// FN: Not reported as an issue.{await Task.Delay(1000);}}
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
C# 12
.NET 8.0
Rider 2024.3 with SonarLint 10.12.0.79769
Operating System Linux
The text was updated successfully, but these errors were encountered:
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: