6 references to SimpleIntervalTree
Microsoft.CodeAnalysis.CodeStyle (2)
AbstractAggregatedFormattingResult.cs (1)
49
=> _formattingSpans ??
SimpleIntervalTree
.Create(new TextSpanIntervalIntrospector(), _formattingResults.Select(r => r.FormattedSpan));
SimplifyTypeNamesDiagnosticAnalyzerBase.cs (1)
232
var (completed, intervalTree) = _codeBlockIntervals.GetOrAdd(context.CodeBlock.SyntaxTree, _ => (new StrongBox<bool>(false),
SimpleIntervalTree
.Create(new TextSpanIntervalIntrospector(), Array.Empty<TextSpan>())));
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (2)
177
IntervalTree =
SimpleIntervalTree
.Create(new TextSpanIntervalIntrospector(), Array.Empty<TextSpan>());
178
PossibleNullableImpactIntervalTree =
SimpleIntervalTree
.Create(new TextSpanIntervalIntrospector(), Array.Empty<TextSpan>());
FormattingResult.cs (1)
26
var rewriter = new TriviaRewriter(this.TreeInfo.Root,
SimpleIntervalTree
.Create(new TextSpanIntervalIntrospector(), this.FormattedSpan), changeMap, cancellationToken);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
FormattingResult.vb (1)
26
Dim triviaRewriter = New TriviaDataFactory.TriviaRewriter(Me.TreeInfo.Root,
SimpleIntervalTree
.Create(New TextSpanIntervalIntrospector(), Me.FormattedSpan), changeMap, cancellationToken)