1 instantiation of TextSpanMutableIntervalTree
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\SimplifyTypeNames\SimplifyTypeNamesDiagnosticAnalyzerBase.cs (1)
229
var (completed, intervalTree) = _codeBlockIntervals.GetOrAdd(context.CodeBlock.SyntaxTree, _ => (new StrongBox<bool>(false), new
TextSpanMutableIntervalTree
()));
7 references to TextSpanMutableIntervalTree
Microsoft.CodeAnalysis.CodeStyle (7)
src\Analyzers\Core\Analyzers\SimplifyTypeNames\SimplifyTypeNamesDiagnosticAnalyzerBase.cs (3)
112
protected abstract ImmutableArray<Diagnostic> AnalyzeSemanticModel(SemanticModelAnalysisContext context, SyntaxNode root,
TextSpanMutableIntervalTree
? codeBlockIntervalTree);
222
private readonly ConcurrentDictionary<SyntaxTree, (StrongBox<bool> completed,
TextSpanMutableIntervalTree
? intervalTree)> _codeBlockIntervals = [];
249
static bool TryProceedWithInterval(bool addIfAvailable, TextSpan span, StrongBox<bool> completed,
TextSpanMutableIntervalTree
intervalTree)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
28
protected abstract IFormattingResult CreateAggregatedFormattingResult(SyntaxNode node, IList<AbstractFormattingResult> results,
TextSpanMutableIntervalTree
? formattingSpans = null);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (3)
22
private readonly
TextSpanMutableIntervalTree
? _formattingSpans;
30
TextSpanMutableIntervalTree
? formattingSpans)
48
protected
TextSpanMutableIntervalTree
GetFormattingSpans()