1 write to SyntaxContext
Microsoft.CodeAnalysis.Features (1)
Snippets\SnippetContext.cs (1)
18SyntaxContext = syntaxContext ?? throw new ArgumentNullException(nameof(syntaxContext));
7 references to SyntaxContext
Microsoft.CodeAnalysis.Features (7)
Snippets\SnippetContext.cs (3)
24public Document Document => SyntaxContext.Document; 29public int Position => SyntaxContext.Position; 34public SemanticModel SemanticModel => SyntaxContext.SemanticModel;
Snippets\SnippetProviders\AbstractInlineStatementSnippetProvider.cs (1)
46var syntaxContext = context.SyntaxContext;
Snippets\SnippetProviders\AbstractSnippetProvider.cs (1)
56var syntaxTree = context.SyntaxContext.SyntaxTree;
Snippets\SnippetProviders\AbstractStatementSnippetProvider.cs (2)
13=> context.SyntaxContext.IsStatementContext || context.SyntaxContext.IsGlobalStatementContext;