1 write to _textBuffer
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineViewModel.cs (1)
81_textBuffer = codeWindowViewTracker.GetActiveView().TextBuffer;
8 references to _textBuffer
Microsoft.VisualStudio.LanguageServices (8)
DocumentOutline\DocumentOutlineViewModel.cs (8)
84_lastPresentedViewState_doNotAccessDirectly = CreateEmptyViewState(_textBuffer.CurrentSnapshot); 99TaggerEventSources.OnTextChanged(_textBuffer), 100TaggerEventSources.OnParseOptionChanged(_textBuffer), 101TaggerEventSources.OnWorkspaceChanged(_textBuffer, asyncListener), 102TaggerEventSources.OnWorkspaceRegistrationChanged(_textBuffer)); 427var filePath = _textBuffer.GetRelatedDocuments().FirstOrDefault(static d => d.FilePath is not null)?.FilePath; 432_textBuffer, _languageServiceBroker.RequestAsync, filePath, cancellationToken).ConfigureAwait(false); 441return (ImmutableArray<DocumentSymbolData>.Empty, _textBuffer.CurrentSnapshot);