public static void Transpile(this Syntax.ParenthesizedExpressionSyntax parenthesizedExpressionNode, ref StringBuilder sb, out bool isString) { _ = parenthesizedExpressionNode ?? throw new ArgumentNullException(nameof(parenthesizedExpressionNode)); sb.Append('('); parenthesizedExpressionNode.ExpressionNode.Transpile(ref sb, out isString); sb.Append(')'); }
public static ExpressionSyntax Transpile(this Syntax.ParenthesizedExpressionSyntax parenthesizedExpressionNode, out bool @const) { _ = parenthesizedExpressionNode ?? throw new ArgumentNullException(nameof(parenthesizedExpressionNode)); return(SyntaxFactory.ParenthesizedExpression(parenthesizedExpressionNode.ExpressionNode.Transpile(out @const))); }