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
Extensions should be in the classes with name that respect the extended type.
public class ISymbolExtensions
{
public void DoSomething(this IMethodSymbol method) { } // Noncompliant {{Move this extension to IMethodSymbolExtensions class.}}
public void DoSomething(this ISymbol method) { } // Compliant
}
The text was updated successfully, but these errors were encountered:
Coding style rule:
Extensions should be in the classes with name that respect the extended type.
The text was updated successfully, but these errors were encountered: