1 write to _indentationTree
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (1)
65
_indentationTree
= new ContextMutableIntervalTree<IndentationData, FormattingContextIntervalIntrospector>(new FormattingContextIntervalIntrospector());
9 references to _indentationTree
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (9)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (9)
84
_indentationTree
.AddIntervalInPlace(data);
109
_indentationTree
.AddIntervalInPlace(data);
210
_indentationTree
.AddIntervalInPlace(relativeIndentationData);
220
_indentationTree
.AddIntervalInPlace(new SimpleIndentationData(intervalTreeSpan, operation.IndentationDeltaOrPosition));
226
var indentationData =
_indentationTree
.GetSmallestContainingInterval(operation.TextSpan.Start, 0);
231
_indentationTree
.AddIntervalInPlace(new SimpleIndentationData(intervalTreeSpan, indentation));
259
_indentationTree
.AddIntervalInPlace(derived);
421
var indentationData =
_indentationTree
.GetSmallestContainingInterval(position, 0);
424
DebugCheckEmpty(
_indentationTree
, new TextSpan(position, 0));