7 writes to _expansionSession
Microsoft.VisualStudio.LanguageServices (7)
Snippets\SnippetExpansionClient.cs (7)
522if (expansion.InsertExpansion(textSpan, textSpan, this, _languageHelper.LanguageServiceGuid, out _state._expansionSession) == VSConstants.S_OK) 560if (expansion.InsertSpecificExpansion(doc, textSpan, this, _languageHelper.LanguageServiceGuid, pszRelativePath: null, out _state._expansionSession) == VSConstants.S_OK) 928if (expansion.InsertSpecificExpansion(doc, adjustedTextSpan, this, _languageHelper.LanguageServiceGuid, pszRelativePath: null, out _state._expansionSession) == VSConstants.S_OK) 988_state._expansionSession = pSession; 1018hr = expansion.InsertNamedExpansion(pszTitle, pszPath, textSpan, this, _languageHelper.LanguageServiceGuid, fShowDisambiguationUI: 0, pSession: out _state._expansionSession); 1026_state._expansionSession = null; 1188_expansionSession = null;
5 references to _expansionSession
Microsoft.VisualStudio.LanguageServices (5)
Snippets\SnippetExpansionClient.cs (5)
113/// <inheritdoc cref="State._expansionSession"/> 114public IVsExpansionSession? ExpansionSession => _state._expansionSession; 562Debug.Assert(_state._expansionSession != null); 930Debug.Assert(_state._expansionSession != null); 1184public bool IsFullMethodCallSnippet => _expansionSession is not null && _methodNameForInsertFullMethodCall is not null;