1 type derived from IntervalTree
Microsoft.CodeAnalysis.Workspaces (1)
SimpleIntervalTree`2.cs (1)
10internal class SimpleIntervalTree<T, TIntrospector> : IntervalTree<T>
2 instantiations of IntervalTree
Microsoft.CodeAnalysis.Workspaces (2)
IntervalTree`1.cs (2)
22public static readonly IntervalTree<T> Empty = new(); 39var result = new IntervalTree<T>();
11 references to IntervalTree
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Tagging\Utilities\TagSpanIntervalTree.cs (1)
23private readonly IntervalTree<TagNode> _tree;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
Collections\IntervalTreeTests.cs (4)
272private static IntervalTree<int> CreateIntTree(params int[] values) 273=> IntervalTree<int>.Create(new Int32Introspector(), values); 312var tree = IntervalTree<int>.Create(new Int32Introspector(), new[] { 1, 0 });
Microsoft.CodeAnalysis.Workspaces (6)
IntervalTree`1.cs (3)
22public static readonly IntervalTree<T> Empty = new(); 36public static IntervalTree<T> Create<TIntrospector>(in TIntrospector introspector, IEnumerable<T> values) 39var result = new IntervalTree<T>();
Shared\Collections\IntervalTree.cs (3)
14public static IntervalTree<T> Create<T, TIntrospector>(in TIntrospector introspector, params T[] values) 20public static IntervalTree<T> Create<T, TIntrospector>(in TIntrospector introspector, IEnumerable<T> values = null) 23return IntervalTree<T>.Create(in introspector, values ?? SpecializedCollections.EmptyEnumerable<T>());