public bool CanImplement(IMethodSymbol methodSymbol) { if (SymbolHelper.IsConstructor(methodSymbol)) { return(false); } return(methodSymbol.Parameters.Length == 2 && methodSymbol.ReturnsVoid); }
public bool CanImplement(IMethodSymbol methodSymbol) { return(methodSymbol.Parameters.Length > 1 && SymbolHelper.IsConstructor(methodSymbol)); }