Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 1.5 KB

File metadata and controls

12 lines (9 loc) · 1.5 KB

IfStatementSyntax Class Extensions

Home

Extension Method Summary
AsCascade(IfStatementSyntax) Returns IfStatementCascade that enables to enumerate if-else cascade.
GetCascadeInfo(IfStatementSyntax) Returns IfStatementCascadeInfo that summarizes information about if-else cascade.
GetTopmostIf(IfStatementSyntax) Returns topmost if statement of the if-else cascade the specified if statement is part of.
IsSimpleIf(IfStatementSyntax) Returns true if the specified if statement is a simple if statement. Simple if statement is defined as follows: it is not a child of an else clause and it has no else clause.
IsTopmostIf(IfStatementSyntax) Returns true if the specified if statement is not a child of an else clause.