4 instantiations of FormattingContextIntervalIntrospector
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (4)
63
_relativeIndentationTree = new ContextMutableIntervalTree<RelativeIndentationData, FormattingContextIntervalIntrospector>(new
FormattingContextIntervalIntrospector
());
65
_indentationTree = new ContextMutableIntervalTree<IndentationData, FormattingContextIntervalIntrospector>(new
FormattingContextIntervalIntrospector
());
69
_anchorTree = new ContextMutableIntervalTree<AnchorData, FormattingContextIntervalIntrospector>(new
FormattingContextIntervalIntrospector
());
432
=> _relativeIndentationTree.Algorithms.GetIntervalsThatIntersectWith(this.TreeData.StartPosition, this.TreeData.EndPosition, new
FormattingContextIntervalIntrospector
()).Select(i => i.Operation);
6 references to FormattingContextIntervalIntrospector
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (6)
29
private readonly ContextMutableIntervalTree<RelativeIndentationData,
FormattingContextIntervalIntrospector
> _relativeIndentationTree;
33
private readonly ContextMutableIntervalTree<IndentationData,
FormattingContextIntervalIntrospector
> _indentationTree;
37
private readonly ContextMutableIntervalTree<AnchorData,
FormattingContextIntervalIntrospector
> _anchorTree;
63
_relativeIndentationTree = new ContextMutableIntervalTree<RelativeIndentationData,
FormattingContextIntervalIntrospector
>(new FormattingContextIntervalIntrospector());
65
_indentationTree = new ContextMutableIntervalTree<IndentationData,
FormattingContextIntervalIntrospector
>(new FormattingContextIntervalIntrospector());
69
_anchorTree = new ContextMutableIntervalTree<AnchorData,
FormattingContextIntervalIntrospector
>(new FormattingContextIntervalIntrospector());