SyntaxInfo.SimpleIfStatementInfo Method
Containing Type: SyntaxInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
SimpleIfStatementInfo(IfStatementSyntax, Boolean, Boolean) | Creates a new SimpleIfStatementInfo from the specified if statement. |
SimpleIfStatementInfo(SyntaxNode, Boolean, Boolean) | Creates a new SimpleIfStatementInfo from the specified node. |
SimpleIfStatementInfo(IfStatementSyntax, Boolean, Boolean)
Creates a new SimpleIfStatementInfo from the specified if statement.
public static Roslynator.CSharp.Syntax.SimpleIfStatementInfo SimpleIfStatementInfo(Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax ifStatement, bool walkDownParentheses = true, bool allowMissing = false)
Parameters
ifStatement IfStatementSyntax
walkDownParentheses Boolean
allowMissing Boolean
Returns
SimpleIfStatementInfo(SyntaxNode, Boolean, Boolean)
Creates a new SimpleIfStatementInfo from the specified node.
public static Roslynator.CSharp.Syntax.SimpleIfStatementInfo SimpleIfStatementInfo(Microsoft.CodeAnalysis.SyntaxNode node, bool walkDownParentheses = true, bool allowMissing = false)
Parameters
node SyntaxNode
walkDownParentheses Boolean
allowMissing Boolean