7 writes to _expansionSession
Microsoft.VisualStudio.LanguageServices (7)
Snippets\SnippetExpansionClient.cs (7)
521if (expansion.InsertExpansion(textSpan, textSpan, this, _languageHelper.LanguageServiceGuid, out _state._expansionSession) == VSConstants.S_OK) 559if (expansion.InsertSpecificExpansion(doc, textSpan, this, _languageHelper.LanguageServiceGuid, pszRelativePath: null, out _state._expansionSession) == VSConstants.S_OK) 924if (expansion.InsertSpecificExpansion(doc, adjustedTextSpan, this, _languageHelper.LanguageServiceGuid, pszRelativePath: null, out _state._expansionSession) == VSConstants.S_OK) 984_state._expansionSession = pSession; 1014hr = expansion.InsertNamedExpansion(pszTitle, pszPath, textSpan, this, _languageHelper.LanguageServiceGuid, fShowDisambiguationUI: 0, pSession: out _state._expansionSession); 1022_state._expansionSession = null; 1183_expansionSession = null;
5 references to _expansionSession
Microsoft.VisualStudio.LanguageServices (5)
Snippets\SnippetExpansionClient.cs (5)
112/// <inheritdoc cref="State._expansionSession"/> 113public IVsExpansionSession? ExpansionSession => _state._expansionSession; 561Debug.Assert(_state._expansionSession != null); 926Debug.Assert(_state._expansionSession != null); 1179public bool IsFullMethodCallSnippet => _expansionSession is not null && _methodNameForInsertFullMethodCall is not null;