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