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)
135
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
136
var openDocumentService = _serviceProvider.GetService<SVsUIShellOpenDocument, IVsUIShellOpenDocument>(
_threadingContext
.JoinableTaskFactory);
160
_threadingContext
.ThrowIfNotOnUIThread();
190
_threadingContext
.ThrowIfNotOnUIThread();
200
_threadingContext
.JoinableTaskFactory.Run(() => openFile.RefreshFileAsync(CancellationToken.None).AsTask());
203
var runningDocumentTable = _serviceProvider.GetService<SVsRunningDocumentTable, IVsRunningDocumentTable4>(
_threadingContext
.JoinableTaskFactory);
213
_threadingContext
.JoinableTaskFactory.Run(() => openFile.SetWindowFrameAsync(windowFrame));
218
_threadingContext
.ThrowIfNotOnUIThread();
267
fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
299
_fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
311
_fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
369
await _fileManager.
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
464
await _fileManager.
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
471
_fileManager.
_threadingContext
, _fileManager._vsInfoBarUIFactory, _fileManager._vsShell, _fileManager._listenerProvider, windowFrame);
483
await _fileManager.
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
506
_fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
510
_currentInfoBarMessage = _fileManager.
_threadingContext
.JoinableTaskFactory.Run(() =>