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