SyntaxInfo.ConditionalExpressionInfo Method
Containing Type: SyntaxInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
ConditionalExpressionInfo(ConditionalExpressionSyntax, Boolean, Boolean) | Creates a new ConditionalExpressionInfo from the specified conditional expression. |
ConditionalExpressionInfo(SyntaxNode, Boolean, Boolean) | Creates a new ConditionalExpressionInfo from the specified node. |
ConditionalExpressionInfo(ConditionalExpressionSyntax, Boolean, Boolean)
Creates a new ConditionalExpressionInfo from the specified conditional expression.
public static Roslynator.CSharp.Syntax.ConditionalExpressionInfo ConditionalExpressionInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ConditionalExpressionSyntax? conditionalExpression, bool walkDownParentheses = true, bool allowMissing = false)
Parameters
conditionalExpression ConditionalExpressionSyntax
walkDownParentheses Boolean
allowMissing Boolean
Returns
ConditionalExpressionInfo(SyntaxNode, Boolean, Boolean)
Creates a new ConditionalExpressionInfo from the specified node.
public static Roslynator.CSharp.Syntax.ConditionalExpressionInfo ConditionalExpressionInfo(Microsoft.CodeAnalysis.SyntaxNode node, bool walkDownParentheses = true, bool allowMissing = false)
Parameters
node SyntaxNode
walkDownParentheses Boolean
allowMissing Boolean