8 references to NormalizedTextSpanCollection
Microsoft.CodeAnalysis.Workspaces (8)
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)
58
? new
NormalizedTextSpanCollection
(result.Value.MatchedSpansInReverse).ToImmutableArray()
PatternMatching\PatternMatcher.cs (1)
546
? new
NormalizedTextSpanCollection
(matchSpans.ToImmutableAndClear()).ToImmutableArray()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\TextSpanExtensions.cs (2)
19
=> new
NormalizedTextSpanCollection
(spans);
22
=> new
NormalizedTextSpanCollection
(spans).ToImmutableArray();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\AbstractSyntaxFormatting.cs (1)
42
spansToFormat = new
NormalizedTextSpanCollection
(spans.Where(s_notEmpty));