49 references to IntersectsWith
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNodeOrToken.cs (1)
915if (!node.FullSpan.IntersectsWith(position))
Microsoft.CodeAnalysis.CodeStyle (3)
AbstractHeaderFacts.cs (1)
51if (!headerSpan.IntersectsWith(position))
AbstractSelectedMembers.cs (1)
136if (id.FullSpan.IntersectsWith(position))
BottomUpBaseIndentationFinder.cs (1)
60operation.TextSpan.IntersectsWith(position) &&
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
SyntaxTokenExtensions.cs (1)
94=> token.Span.IntersectsWith(position);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
545if (!existingAccessorSpan.IntersectsWith(position))
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
681return declaration?.Name.Span.IntersectsWith(position) == true;
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
359if (span.IntersectsWith(position))
Microsoft.CodeAnalysis.CSharp.Features (8)
BraceCompletion\InterpolationBraceCompletionService.cs (1)
66if (!token.Span.IntersectsWith(position))
ChangeSignature\CSharpChangeSignatureService.cs (1)
132if (!matchingNode.Span.IntersectsWith(position))
CodeRefactorings\SyncNamespace\CSharpSyncNamespaceCodeRefactoringProvider.cs (2)
44if (namespaceDeclaration.Name.Span.IntersectsWith(position)) 53&& firstMemberDeclarationName.Span.IntersectsWith(position))
ConvertProgram\ConvertToProgramMainCodeRefactoringProvider.cs (1)
49if (!acceptableLocation.SourceSpan.IntersectsWith(position))
ExtractInterface\CSharpExtractInterfaceService.cs (1)
51return span.IntersectsWith(position) ? typeDeclaration : null;
Wrapping\SeparatedSyntaxList\CSharpArgumentWrapper.cs (1)
93if (!span.IntersectsWith(position))
Wrapping\SeparatedSyntaxList\CSharpParameterWrapper.cs (1)
70if (!headerSpan.IntersectsWith(position))
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
94=> token.Span.IntersectsWith(position);
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
545if (!existingAccessorSpan.IntersectsWith(position))
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
681return declaration?.Name.Span.IntersectsWith(position) == true;
Microsoft.CodeAnalysis.EditorFeatures (1)
GoToDefinition\AbstractGoToDefinitionService.cs (1)
105if (!definitionLocation.SourceSpan.IntersectsWith(position))
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
Controller.Session_ComputeModel.cs (1)
198if (currentItems != null && currentItems.ApplicableSpan.IntersectsWith(caretPosition.Position))
NavigationCommandHandlers\FindImplementingMembersCommandHandler.cs (1)
101if (!documentToken.Span.IntersectsWith(caretPosition))
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
SignatureHelp\Controller.Session_ComputeModel.cs (1)
198if (currentItems != null && currentItems.ApplicableSpan.IntersectsWith(caretPosition.Position))
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (1)
196Return Tuple.Create(document, result.Where(Function(d) d.Location.SourceSpan.IntersectsWith(invocationPoint)))
Microsoft.CodeAnalysis.Features (9)
AddFileBanner\AbstractAddFileBannerCodeRefactoringProvider.cs (1)
58if (!firstToken.FullSpan.IntersectsWith(position))
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (1)
183Debug.Assert(textChanges.Last().Span.IntersectsWith(insertSpan.End));
Completion\Providers\AbstractPartialTypeCompletionProvider.cs (1)
109.Any(node => !(node.SyntaxTree == context.SyntaxTree && node.Span.IntersectsWith(context.Position)));
DocumentHighlighting\AbstractDocumentHighlightsService.cs (1)
86if (!tags.Any(static (t, position) => t.HighlightSpans.Any(static (hs, position) => hs.TextSpan.IntersectsWith(position), position), position))
Highlighting\Keywords\AbstractKeywordHighlighter.cs (1)
63if (highlight.IntersectsWith(position))
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (1)
170if (!spanToSearch.IntersectsWith(spanStart))
QuickInfo\CommonQuickInfoProvider.cs (3)
58if (token != default && token.Span.IntersectsWith(position)) 74token.Span.IntersectsWith(context.Position)) 87token.Span.IntersectsWith(context.Position))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
SyntaxTokenExtensions.vb (1)
227Return token.Span.IntersectsWith(position)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
SyntaxTreeExtensions.vb (1)
78Return statement IsNot Nothing AndAlso (statement.Name.Span.IntersectsWith(position) OrElse statement.NamespaceKeyword = token)
Microsoft.CodeAnalysis.VisualBasic.Features (6)
BraceCompletion\BracketBraceCompletionService.vb (1)
59ElseIf Not span.IntersectsWith(position) OrElse
BraceCompletion\InterpolationBraceCompletionService.vb (1)
64If Not token.Span.IntersectsWith(position) Then
ChangeSignature\VisualBasicChangeSignatureService.vb (1)
110If Not matchingNode.Span.IntersectsWith(position) Then
ExtractInterface\VisualBasicExtractInterfaceService.vb (1)
46Return If(span.IntersectsWith(position), typeDeclaration, Nothing)
Wrapping\SeparatedSyntaxList\VisualBasicArgumentWrapper.vb (1)
69If Not span.IntersectsWith(position) Then
Wrapping\SeparatedSyntaxList\VisualBasicParameterWrapper.vb (1)
61If Not headerSpan.IntersectsWith(position) Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb\SyntaxTokenExtensions.vb (1)
227Return token.Span.IntersectsWith(position)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
78Return statement IsNot Nothing AndAlso (statement.Name.Span.IntersectsWith(position) OrElse statement.NamespaceKeyword = token)
Microsoft.CodeAnalysis.Workspaces (5)
AbstractHeaderFacts.cs (1)
51if (!headerSpan.IntersectsWith(position))
AbstractSelectedMembers.cs (1)
136if (id.FullSpan.IntersectsWith(position))
BottomUpBaseIndentationFinder.cs (1)
60operation.TextSpan.IntersectsWith(position) &&
Editing\SymbolEditor.cs (1)
375return doc != null && doc.Id == documentId && d.FullSpan.IntersectsWith(position);
FindSymbols\SymbolFinder.cs (1)
85token.Span.IntersectsWith(position))
Microsoft.VisualStudio.LanguageServices (1)
Workspace\VisualStudioFormattingRuleFactoryServiceFactory.cs (1)
67if (visibleSpan.IntersectsWith(position) || visibleSpan.End == position)