1 write to _anchorTree
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (1)
69
_anchorTree
= new ContextMutableIntervalTree<AnchorData, FormattingContextIntervalIntrospector>(new FormattingContextIntervalIntrospector());
4 references to _anchorTree
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (4)
402
_anchorTree
.AddIntervalInPlace(data);
471
var anchorData =
_anchorTree
.GetSmallestContainingInterval(span.Start, 0);
475
DebugCheckEmpty(
_anchorTree
, new TextSpan(span.Start, 0));
542
var anchorData =
_anchorTree
.GetIntervalsThatOverlapWith(baseAnchorData.TextSpan.Start, baseAnchorData.TextSpan.Length);