1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
Workspace\SourceGeneratedFileManager.cs (1)
91_threadingContext = threadingContext;
17 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (17)
Workspace\SourceGeneratedFileManager.cs (17)
135await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 136var openDocumentService = _serviceProvider.GetService<SVsUIShellOpenDocument, IVsUIShellOpenDocument>(_threadingContext.JoinableTaskFactory); 160_threadingContext.ThrowIfNotOnUIThread(); 190_threadingContext.ThrowIfNotOnUIThread(); 200_threadingContext.JoinableTaskFactory.Run(() => openFile.RefreshFileAsync(CancellationToken.None).AsTask()); 203var runningDocumentTable = _serviceProvider.GetService<SVsRunningDocumentTable, IVsRunningDocumentTable4>(_threadingContext.JoinableTaskFactory); 213_threadingContext.JoinableTaskFactory.Run(() => openFile.SetWindowFrameAsync(windowFrame)); 218_threadingContext.ThrowIfNotOnUIThread(); 267fileManager._threadingContext.ThrowIfNotOnUIThread(); 299_fileManager._threadingContext.ThrowIfNotOnUIThread(); 311_fileManager._threadingContext.ThrowIfNotOnUIThread(); 369await _fileManager._threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 464await _fileManager._threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 471_fileManager._threadingContext, _fileManager._vsInfoBarUIFactory, _fileManager._vsShell, _fileManager._listenerProvider, windowFrame); 483await _fileManager._threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 506_fileManager._threadingContext.ThrowIfNotOnUIThread(); 510_currentInfoBarMessage = _fileManager._threadingContext.JoinableTaskFactory.Run(() =>