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