12 references to Overlap
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
166
spans.Add(span1.
Overlap
(span2)!.Value);
Microsoft.CodeAnalysis.UnitTests (10)
Text\TextSpanTest.cs (10)
241
Assert.Null(span1.
Overlap
(span2));
242
Assert.Null(span2.
Overlap
(span1));
253
Assert.Null(span1.
Overlap
(span2));
254
Assert.Null(span2.
Overlap
(span1));
265
Assert.Equal(span1.
Overlap
(span2), new TextSpan(10, 5));
266
Assert.Equal(span2.
Overlap
(span1), new TextSpan(10, 5));
277
Assert.Null(span1.
Overlap
(span2));
278
Assert.Null(span2.
Overlap
(span1));
289
Assert.Null(span1.
Overlap
(span2));
290
Assert.Null(span2.
Overlap
(span1));
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
166
spans.Add(span1.
Overlap
(span2)!.Value);