7 references to IsInNonUserCode
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
ExternalAccess\Pythia\Api\PythiaSyntaxExtensions.cs (1)
14
=> CSharp.Extensions.SyntaxTreeExtensions.
IsInNonUserCode
(syntaxTree, position, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
187
var isInNonUserCode = syntaxTree.
IsInNonUserCode
(position, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (4)
620
if (syntaxTree.
IsInNonUserCode
(position, cancellationToken) ||
670
if (syntaxTree.IsScript() || syntaxTree.
IsInNonUserCode
(position, cancellationToken))
687
if (!syntaxTree.
IsInNonUserCode
(position, cancellationToken))
713
syntaxTree.
IsInNonUserCode
(position, cancellationToken) ||
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxFactsService.cs (1)
35
return syntaxTree.
IsInNonUserCode
(position, cancellationToken);