7 references to IsIfOrElseIf
Microsoft.CodeAnalysis.Features (7)
SplitOrMergeIfStatements\AbstractMergeIfStatementsCodeRefactoringProvider.cs (1)
84
node => ifGenerator.
IsIfOrElseIf
(node) && node.Span == span);
SplitOrMergeIfStatements\Consecutive\AbstractMergeConsecutiveIfStatementsCodeRefactoringProvider.cs (2)
197
if (!ifGenerator.
IsIfOrElseIf
(firstStatement) || ifGenerator.GetElseIfAndElseClauses(firstStatement).Length > 0)
200
if (!ifGenerator.
IsIfOrElseIf
(secondStatement))
SplitOrMergeIfStatements\Nested\AbstractMergeNestedIfStatementsCodeRefactoringProvider.cs (4)
105
if (rootStatements.Count > 0 && ifGenerator.
IsIfOrElseIf
(rootStatements[0].Parent))
133
if (statements.Count > 0 && ifGenerator.
IsIfOrElseIf
(statements[0]))
237
var isIfStatement = ifGenerator.
IsIfOrElseIf
(elseIfOrElseClause1);
238
if (isIfStatement != ifGenerator.
IsIfOrElseIf
(elseIfOrElseClause2))