7 instantiations of NormalizedTextSpanCollection
Microsoft.CodeAnalysis.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (4)
125return new NormalizedTextSpanCollection(spans); 184return new NormalizedTextSpanCollection(spans); 239return new NormalizedTextSpanCollection(spans); 337return 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)
42spansToFormat = 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)) 62public static NormalizedTextSpanCollection Union(NormalizedTextSpanCollection left, NormalizedTextSpanCollection right) 98NormalizedTextSpanCollection.UpdateSpanUnion(span1, spans, ref start, ref end); 103NormalizedTextSpanCollection.UpdateSpanUnion(span2, spans, ref start, ref end); 110NormalizedTextSpanCollection.UpdateSpanUnion(left[index1], spans, ref start, ref end); 116NormalizedTextSpanCollection.UpdateSpanUnion(right[index2], spans, ref start, ref end); 136public static NormalizedTextSpanCollection Overlap(NormalizedTextSpanCollection left, NormalizedTextSpanCollection right) 196public static NormalizedTextSpanCollection Intersection(NormalizedTextSpanCollection left, NormalizedTextSpanCollection right) 254public static NormalizedTextSpanCollection Difference(NormalizedTextSpanCollection left, NormalizedTextSpanCollection right) 346public static bool operator ==(NormalizedTextSpanCollection? left, NormalizedTextSpanCollection? right) 380public static bool operator !=(NormalizedTextSpanCollection? left, NormalizedTextSpanCollection? right) 389public bool OverlapsWith(NormalizedTextSpanCollection set) 449public bool IntersectsWith(NormalizedTextSpanCollection set) 521var set = obj as NormalizedTextSpanCollection;