1 instantiation of StatementRange
Microsoft.CodeAnalysis.Features (1)
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (1)
408builder.Add(new StatementRange(nextStatement, GetStatements(node).Last()));
11 references to StatementRange
Microsoft.CodeAnalysis.Features (11)
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (11)
53protected abstract bool IsSingleStatementStatementRange(StatementRange statementRange); 60protected abstract StatementRange GetIfBodyStatementRange(TIfStatementSyntax ifNode); 116var ifBodyStatementRange = GetIfBodyStatementRange(ifNode); 285private bool SingleSubsequentStatement(ImmutableArray<StatementRange> subsequentStatementRanges) 317ImmutableArray<StatementRange> subsequentStatementRanges, 324foreach (var statementRange in subsequentStatementRanges) 341StatementRange statementRange, 355ImmutableArray<StatementRange> subsequentStatementRanges) 373private bool IsEmptyStatementRange(StatementRange statementRange) 399private ImmutableArray<StatementRange> GetSubsequentStatementRanges(TIfStatementSyntax ifNode) 401using var _ = ArrayBuilder<StatementRange>.GetInstance(out var builder);