11 references to Algorithms
Microsoft.CodeAnalysis.CSharp.Features (2)
ConvertToRawString\ConvertInterpolatedStringToRawStringCodeRefactoringProvider.cs (2)
306if (restrictedSpans.Algorithms.HasIntervalThatIntersectsWith(line.Start, new TextSpanIntervalIntrospector())) 571if (restrictedSpans.Algorithms.HasIntervalThatIntersectsWith(line.Start, new TextSpanIntervalIntrospector()))
Microsoft.CodeAnalysis.EditorFeatures (4)
Shared\Tagging\Utilities\TagSpanIntervalTree.cs (4)
60=> _tree.Algorithms.HasIntervalThatContains(point.Position, length: 0, new IntervalIntrospector(point.Snapshot, _spanTrackingMode)); 63=> _tree.Algorithms.HasIntervalThatIntersectsWith(point.Position, new IntervalIntrospector(point.Snapshot, _spanTrackingMode)); 75_tree.Algorithms.FillWithIntervalsThatIntersectWith( 143_tree.Algorithms.FillWithIntervalsThatIntersectWith(
Microsoft.CodeAnalysis.Workspaces (1)
Classification\ClassifierHelper.cs (1)
267semanticPartsTree.Algorithms.FillWithIntervalsThatOverlapWith(
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
UtilityTest\IntervalTreeTests.cs (3)
381return ((ImmutableIntervalTree<Tuple<int, int, string>>)tree).Algorithms.HasIntervalThatIntersectsWith(position, new TupleIntrospector<string>()); 386return ((ImmutableIntervalTree<Tuple<int, int, string>>)tree).Algorithms.GetIntervalsThatIntersectWith(start, length, new TupleIntrospector<string>()); 391return ((ImmutableIntervalTree<Tuple<int, int, string>>)tree).Algorithms.GetIntervalsThatOverlapWith(start, length, new TupleIntrospector<string>());
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineViewModel.cs (1)
458var overlappingModels = modelTree.Algorithms.GetIntervalsThatOverlapWith(