11 references to NormalizedTextSpanCollection
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Classification\SemanticClassifierTests_TestMarkup.cs (1)
92var normalizedNonTestCodeSpans = new NormalizedTextSpanCollection(nonTestCodeSpans.Select(c => c.TextSpan));
Microsoft.CodeAnalysis.Features (3)
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
266var normalizedSpans = new NormalizedTextSpanCollection(fixAllSpans);
Copilot\ICopilotChangeAnalysisService.cs (1)
60Contract.ThrowIfTrue(new NormalizedTextSpanCollection(changes.Select(c => c.Span)).Count != changes.Length, "'changes' was not normalized.");
NavigateTo\AbstractNavigateToSearchService.NormalSearch.cs (1)
140return documentToTextSpans.SelectAsArray(kvp => (kvp.Key, new NormalizedTextSpanCollection(kvp.Value)))!;
Microsoft.CodeAnalysis.Workspaces (7)
CaseCorrection\AbstractCaseCorrectionService.cs (1)
48var normalizedSpanCollection = new NormalizedTextSpanCollection(spans);
CodeCleanup\AbstractCodeCleanerService.cs (2)
524var requestedSpans = new NormalizedTextSpanCollection(spanGetter(root)); 527var 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)
42spansToFormat = new NormalizedTextSpanCollection(spans.Where(s_notEmpty));