15 references to HasIntervalThatOverlapsWith
Microsoft.CodeAnalysis.CSharp.Features (9)
Diagnostics\Analyzers\TypeSyntaxSimplifierWalker.cs (6)
144
if (_ignoredSpans?.
HasIntervalThatOverlapsWith
(node.FullSpan.Start, node.FullSpan.Length) ?? false)
161
if (_ignoredSpans?.
HasIntervalThatOverlapsWith
(node.FullSpan.Start, node.FullSpan.Length) ?? false)
178
if (_ignoredSpans?.
HasIntervalThatOverlapsWith
(node.FullSpan.Start, node.FullSpan.Length) ?? false)
195
if (_ignoredSpans?.
HasIntervalThatOverlapsWith
(node.FullSpan.Start, node.FullSpan.Length) ?? false)
233
if (_ignoredSpans?.
HasIntervalThatOverlapsWith
(node.FullSpan.Start, node.FullSpan.Length) ?? false)
250
if (_ignoredSpans?.
HasIntervalThatOverlapsWith
(node.FullSpan.Start, node.FullSpan.Length) ?? false)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (3)
120
|| !possibleNullableImpactIntervalTree.
HasIntervalThatOverlapsWith
(currentOptionsDirective.Span.End, nullableDirectiveTrivia.SpanStart - currentOptionsDirective.Span.End))
152
|| !possibleNullableImpactIntervalTree.
HasIntervalThatOverlapsWith
(currentOptionsDirective.Span.End, root.Span.End - currentOptionsDirective.Span.End))
228
if (IntervalTree.
HasIntervalThatOverlapsWith
(span.Start, span.End))
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\SimplifyTypeNames\SimplifyTypeNamesDiagnosticAnalyzerBase.cs (1)
243
if (intervalTree.
HasIntervalThatOverlapsWith
(span.Start, span.End))
Microsoft.CodeAnalysis.Workspaces (5)
CodeCleanup\AbstractCodeCleanerService.cs (2)
338
var start = intervalTree.
HasIntervalThatOverlapsWith
(previousToken.SpanStart, previousToken.Span.Length)
343
var end = intervalTree.
HasIntervalThatOverlapsWith
(nextToken.SpanStart, nextToken.Span.Length)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\TextSpanMutableIntervalTree.cs (1)
31
=> this.
HasIntervalThatOverlapsWith
(span.Start, span.Length);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
70
bool OverlapsWithSpan(SyntaxNode n) => spansTree.
HasIntervalThatOverlapsWith
(n.FullSpan.Start, n.FullSpan.Length);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
147
=> !spansTree.
HasIntervalThatOverlapsWith
(nodeOrToken.FullSpan.Start, nodeOrToken.FullSpan.Length);