7 instantiations of NormalizedTextSpanCollection
Microsoft.CodeAnalysis.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (4)
125
return new
NormalizedTextSpanCollection
(spans);
184
return new
NormalizedTextSpanCollection
(spans);
239
return new
NormalizedTextSpanCollection
(spans);
337
return new
NormalizedTextSpanCollection
(spans);
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));
28 references to NormalizedTextSpanCollection
Microsoft.CodeAnalysis.CodeStyle (28)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (28)
17
/// Initializes a new instance of <see cref="
NormalizedTextSpanCollection
"/> that is
26
/// Initializes a new instance of <see cref="
NormalizedTextSpanCollection
"/> that contains the specified span.
35
/// Initializes a new instance of <see cref="
NormalizedTextSpanCollection
"/> that contains the specified list of spans.
43
: base(
NormalizedTextSpanCollection
.NormalizeSpans(spans))
62
public static
NormalizedTextSpanCollection
Union(
NormalizedTextSpanCollection
left,
NormalizedTextSpanCollection
right)
98
NormalizedTextSpanCollection
.UpdateSpanUnion(span1, spans, ref start, ref end);
103
NormalizedTextSpanCollection
.UpdateSpanUnion(span2, spans, ref start, ref end);
110
NormalizedTextSpanCollection
.UpdateSpanUnion(left[index1], spans, ref start, ref end);
116
NormalizedTextSpanCollection
.UpdateSpanUnion(right[index2], spans, ref start, ref end);
136
public static
NormalizedTextSpanCollection
Overlap(
NormalizedTextSpanCollection
left,
NormalizedTextSpanCollection
right)
196
public static
NormalizedTextSpanCollection
Intersection(
NormalizedTextSpanCollection
left,
NormalizedTextSpanCollection
right)
254
public static
NormalizedTextSpanCollection
Difference(
NormalizedTextSpanCollection
left,
NormalizedTextSpanCollection
right)
346
public static bool operator ==(
NormalizedTextSpanCollection
? left,
NormalizedTextSpanCollection
? right)
380
public static bool operator !=(
NormalizedTextSpanCollection
? left,
NormalizedTextSpanCollection
? right)
389
public bool OverlapsWith(
NormalizedTextSpanCollection
set)
449
public bool IntersectsWith(
NormalizedTextSpanCollection
set)
521
var
set = obj as
NormalizedTextSpanCollection
;