public static SyntaxNode BinaryOperator(BinaryOperatorKind operatorKind, SyntaxNode left, SyntaxNode right) { return(SyntaxFactory.ParenthesizedExpression(SyntaxFactory.BinaryExpression(operatorKind.ToSyntaxKind(), left as ExpressionSyntax, right as ExpressionSyntax))); }