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
interfaceIInterface{voidInterfaceMethod();}classBase{protectedvirtualvoidBaseMethod(){}}classSample:Base,IInterface{publicasyncvoidInterfaceMethod(){}// Noncompliant protectedoverrideasyncvoidBaseMethod(){}// NoncompliantprotectedvirtualasyncvoidVirtualMethod(){}// NoncompliantasyncvoidOtherMethod(){}// Compliant: covered by S3168}
This rule complements S3168, which ignores methods that implement an interface, override a base method, or are virtual. Having this functionality as a separate rule allows users to tailor their analysis to their needs.
The text was updated successfully, but these errors were encountered:
This rule complements S3168, which ignores methods that implement an interface, override a base method, or are virtual. Having this functionality as a separate rule allows users to tailor their analysis to their needs.
The text was updated successfully, but these errors were encountered: