1 type derived from SimpleIntervalTree
Microsoft.CodeAnalysis.CodeStyle (1)
ContextIntervalTree.cs (1)
17internal class ContextIntervalTree<T, TIntrospector> : SimpleIntervalTree<T, TIntrospector>
3 instantiations of SimpleIntervalTree
Microsoft.CodeAnalysis.CodeStyle (1)
SimpleIntervalTree.cs (1)
20return new SimpleIntervalTree<T, TIntrospector>(in introspector, values);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (2)
97possibleNullableImpactIntervalTree ??= new SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>(new TextSpanIntervalIntrospector(), values: null); 148possibleNullableImpactIntervalTree ??= new SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>(new TextSpanIntervalIntrospector(), values: null);
24 references to SimpleIntervalTree
Microsoft.CodeAnalysis.CodeStyle (10)
AbstractAggregatedFormattingResult.cs (3)
22private readonly SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? _formattingSpans; 30SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? formattingSpans) 48protected SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector> GetFormattingSpans()
AbstractSyntaxFormatting.cs (1)
34protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? formattingSpans = null);
SimpleIntervalTree.cs (2)
11public static SimpleIntervalTree<T, TIntrospector> Create<T, TIntrospector>(in TIntrospector introspector, params T[] values) 17public static SimpleIntervalTree<T, TIntrospector> Create<T, TIntrospector>(in TIntrospector introspector, IEnumerable<T>? values = null)
SimpleIntervalTreeExtensions.cs (1)
15public static bool HasIntervalThatIntersectsWith(this SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector> tree, TextSpan span)
SimplifyTypeNamesDiagnosticAnalyzerBase.cs (3)
111protected abstract ImmutableArray<Diagnostic> AnalyzeSemanticModel(SemanticModelAnalysisContext context, SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? codeBlockIntervalTree); 221private readonly ConcurrentDictionary<SyntaxTree, (StrongBox<bool> completed, SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? intervalTree)> _codeBlockIntervals 251static bool TryProceedWithInterval(bool addIfAvailable, TextSpan span, StrongBox<bool> completed, SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector> intervalTree)
Microsoft.CodeAnalysis.CSharp.CodeStyle (10)
AggregatedFormattingResult.cs (1)
16public AggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? formattingSpans)
CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (4)
90private ImmutableArray<Diagnostic> AnalyzeSemanticModel(SemanticModelAnalysisContext context, int positionOfFirstReducingNullableDirective, SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? codeBlockIntervalTree, SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? possibleNullableImpactIntervalTree) 185public SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? IntervalTree { get; } 186public SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? PossibleNullableImpactIntervalTree { get; }
CSharpSyntaxFormatting.cs (1)
45protected override IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results, SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? formattingSpans = null)
NullableImpactingSpanWalker.cs (2)
21private readonly SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? _ignoredSpans; 44SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector>? ignoredSpans,
TriviaRewriter.cs (2)
22private readonly SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector> _spans; 30SimpleIntervalTree<TextSpan, TextSpanIntervalIntrospector> spanToFormat,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (4)
AggregatedFormattingResult.vb (1)
15Public Sub New(node As SyntaxNode, results As IList(Of AbstractFormattingResult), formattingSpans As SimpleIntervalTree(Of TextSpan, TextSpanIntervalIntrospector))
TriviaDataFactory.TriviaRewriter.vb (2)
16Private ReadOnly _spans As SimpleIntervalTree(Of TextSpan, TextSpanIntervalIntrospector) 23Public Sub New(node As SyntaxNode, spanToFormat As SimpleIntervalTree(Of TextSpan, TextSpanIntervalIntrospector), map As Dictionary(Of ValueTuple(Of SyntaxToken, SyntaxToken), TriviaData), cancellationToken As CancellationToken)
VisualBasicSyntaxFormatting.vb (1)
42Protected Overrides Function CreateAggregatedFormattingResult(node As SyntaxNode, results As IList(Of AbstractFormattingResult), Optional formattingSpans As SimpleIntervalTree(Of TextSpan, TextSpanIntervalIntrospector) = Nothing) As IFormattingResult