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
I get this a lot in my unit tests when I am testing a service that explicitly implements an interface.
In this case, I must return the interface or the method I am testing cannot be called
Can you improve the checks to stop this case?
I know I can supress it
Type of issue
Typo
Description
Hello
I get this a lot in my unit tests when I am testing a service that explicitly implements an interface.
In this case, I must return the interface or the method I am testing cannot be called
Can you improve the checks to stop this case?
I know I can supress it
Many thanks
Page URL
https://learn.microsoft.com/en-gb/dotnet/fundamentals/code-analysis/quality-rules/ca1859
Content source URL
https://github.com/dotnet/docs/blob/main/docs/fundamentals/code-analysis/quality-rules/ca1859.md
Document Version Independent Id
c8f7f102-2398-9acc-71b8-b0f848a05b92
Article author
@gewarren
Metadata
The text was updated successfully, but these errors were encountered: