4 references to IsGlobalStatementContext
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
211? syntaxTree.IsGlobalStatementContext(position, cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
364return !syntaxTree.IsScript() && syntaxTree.IsGlobalStatementContext(position, cancellationToken); 752syntaxTree.IsGlobalStatementContext(position, cancellationToken) ||
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSemanticFactsService.cs (1)
109=> semanticModel.SyntaxTree.IsGlobalStatementContext(position, cancellationToken);