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