1 write to _formattingResults
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (1)
36
_formattingResults
= formattingResults;
6 references to _formattingResults
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (6)
49
=> _formattingSpans ?? new TextSpanMutableIntervalTree(
_formattingResults
.Select(r => r.FormattedSpan));
83
if (
_formattingResults
.Count == 1)
85
return
_formattingResults
[0].GetTextChanges(cancellationToken);
89
var count =
_formattingResults
.Sum(r => r.GetTextChanges(cancellationToken).Count);
91
foreach (var formattingResult in
_formattingResults
)
106
_formattingResults
.Do(result => result.GetChanges(cancellationToken).Do(change => map.Add(change.Item1, change.Item2)));