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