1 write to snippetExpansionClient
Microsoft.VisualStudio.LanguageServices (1)
Snippets\SnippetFunctions\AbstractSnippetFunction.cs (1)
24
this.
snippetExpansionClient
= snippetExpansionClient;
7 references to snippetExpansionClient
Microsoft.VisualStudio.LanguageServices (7)
Snippets\SnippetFunctions\SnippetFunctionClassName.cs (2)
36
if (
snippetExpansionClient
.ExpansionSession.GetFieldSpan(FieldName, surfaceBufferFieldSpan) != VSConstants.S_OK)
39
if (!
snippetExpansionClient
.TryGetSubjectBufferSpan(surfaceBufferFieldSpan[0], out var subjectBufferFieldSpan))
Snippets\SnippetFunctions\SnippetFunctionGenerateSwitchCases.cs (2)
71
if (
snippetExpansionClient
.ExpansionSession?.GetFieldSpan(fieldName, surfaceBufferFieldSpan) != VSConstants.S_OK)
76
if (!
snippetExpansionClient
.TryGetSubjectBufferSpan(surfaceBufferFieldSpan[0], out var subjectBufferFieldSpan))
Snippets\SnippetFunctions\SnippetFunctionSimpleTypeName.cs (3)
58
if (
snippetExpansionClient
.ExpansionSession == null)
63
if (
snippetExpansionClient
.ExpansionSession.GetFieldSpan(_fieldName, surfaceBufferFieldSpan) != VSConstants.S_OK)
68
if (!
snippetExpansionClient
.TryGetSubjectBufferSpan(surfaceBufferFieldSpan[0], out var subjectBufferFieldSpan))