IfStatementOrElseClause.AsIf() Method
Containing Type: IfStatementOrElseClause
Assembly: Roslynator.CSharp.dll
Returns the underlying if statement if this IfStatementOrElseClause is wrapping if statement.
public Microsoft.CodeAnalysis.CSharp.Syntax.IfStatementSyntax? AsIf()