11 references to NormalizedTextSpanCollection
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Classification\SemanticClassifierTests_TestMarkup.cs (1)
92
var normalizedNonTestCodeSpans = new
NormalizedTextSpanCollection
(nonTestCodeSpans.Select(c => c.TextSpan));
Microsoft.CodeAnalysis.Features (3)
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
266
var normalizedSpans = new
NormalizedTextSpanCollection
(fixAllSpans);
Copilot\ICopilotChangeAnalysisService.cs (1)
60
Contract.ThrowIfTrue(new
NormalizedTextSpanCollection
(changes.Select(c => c.Span)).Count != changes.Length, "'changes' was not normalized.");
NavigateTo\AbstractNavigateToSearchService.NormalSearch.cs (1)
140
return documentToTextSpans.SelectAsArray(kvp => (kvp.Key, new
NormalizedTextSpanCollection
(kvp.Value)))!;
Microsoft.CodeAnalysis.Workspaces (7)
CaseCorrection\AbstractCaseCorrectionService.cs (1)
48
var normalizedSpanCollection = new
NormalizedTextSpanCollection
(spans);
CodeCleanup\AbstractCodeCleanerService.cs (2)
524
var requestedSpans = new
NormalizedTextSpanCollection
(spanGetter(root));
527
var spansToAvoid = new
NormalizedTextSpanCollection
(GetSpansToAvoid(root));
PatternMatching\AllLowerCamelCaseMatcher.cs (1)
59
? new
NormalizedTextSpanCollection
(result.Value.MatchedSpansInReverse).ToImmutableArray()
PatternMatching\PatternMatcher.cs (1)
547
? new
NormalizedTextSpanCollection
(matchSpans.ToImmutableAndClear()).ToImmutableArray()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\TextSpanExtensions.cs (1)
19
=> new
NormalizedTextSpanCollection
(spans);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
42
spansToFormat = new
NormalizedTextSpanCollection
(spans.Where(s_notEmpty));