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