public static bool CanRefactor(EventDeclarationSyntax eventDeclaration) { if (eventDeclaration == null) { throw new ArgumentNullException(nameof(eventDeclaration)); } return(!eventDeclaration.IsStatic() && IsStaticClass(eventDeclaration.Parent)); }
public static bool CanRefactor(EventDeclarationSyntax eventDeclaration) { return(!eventDeclaration.IsStatic() && IsStaticClass(eventDeclaration.Parent)); }