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