1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
Workspace\SourceGeneratedFileManager.cs (1)
97
_threadingContext
= threadingContext;
17 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (17)
Workspace\SourceGeneratedFileManager.cs (17)
158
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
159
var openDocumentService = _serviceProvider.GetService<SVsUIShellOpenDocument, IVsUIShellOpenDocument>(
_threadingContext
.JoinableTaskFactory);
183
_threadingContext
.ThrowIfNotOnUIThread();
213
_threadingContext
.ThrowIfNotOnUIThread();
223
_threadingContext
.JoinableTaskFactory.Run(() => openFile.RefreshFileAsync(CancellationToken.None).AsTask());
226
var runningDocumentTable = _serviceProvider.GetService<SVsRunningDocumentTable, IVsRunningDocumentTable4>(
_threadingContext
.JoinableTaskFactory);
236
_threadingContext
.JoinableTaskFactory.Run(() => openFile.SetWindowFrameAsync(windowFrame));
241
_threadingContext
.ThrowIfNotOnUIThread();
290
fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
321
_fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
333
_fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
392
await _fileManager.
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
487
await _fileManager.
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
494
_fileManager.
_threadingContext
, _fileManager._vsInfoBarUIFactory, _fileManager._vsShell, _fileManager._listenerProvider, windowFrame);
506
await _fileManager.
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
529
_fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
533
_currentInfoBarMessage = _fileManager.
_threadingContext
.JoinableTaskFactory.Run(() =>