5 references to IntersectsWith
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
146return token.IntersectsWith(position) && IsWord(token)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (4)
1739if (!token.IntersectsWith(position) && 1756if (!token.IntersectsWith(position) && 2339if (tokenOnLeftOfPosition.IntersectsWith(position) && 2489if (!token.IntersectsWith(position) && token.GetNextToken().GetNextToken().IsKind(SyntaxKind.EqualsToken))