1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices (1)
Workspace\SourceGeneratedFileManager.cs (1)
92
_threadingContext
= threadingContext;
17 references to _threadingContext
Microsoft.VisualStudio.LanguageServices (17)
Workspace\SourceGeneratedFileManager.cs (17)
136
await
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
137
var openDocumentService = _serviceProvider.GetService<SVsUIShellOpenDocument, IVsUIShellOpenDocument>(
_threadingContext
.JoinableTaskFactory);
161
_threadingContext
.ThrowIfNotOnUIThread();
191
_threadingContext
.ThrowIfNotOnUIThread();
201
_threadingContext
.JoinableTaskFactory.Run(() => openFile.RefreshFileAsync(CancellationToken.None).AsTask());
204
var runningDocumentTable = _serviceProvider.GetService<SVsRunningDocumentTable, IVsRunningDocumentTable4>(
_threadingContext
.JoinableTaskFactory);
214
_threadingContext
.JoinableTaskFactory.Run(() => openFile.SetWindowFrameAsync(windowFrame));
219
_threadingContext
.ThrowIfNotOnUIThread();
268
fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
300
_fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
312
_fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
370
await _fileManager.
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
465
await _fileManager.
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
472
_fileManager.
_threadingContext
, _fileManager._vsInfoBarUIFactory, _fileManager._vsShell, _fileManager._listenerProvider, windowFrame);
484
await _fileManager.
_threadingContext
.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
507
_fileManager.
_threadingContext
.ThrowIfNotOnUIThread();
511
_currentInfoBarMessage = _fileManager.
_threadingContext
.JoinableTaskFactory.Run(() =>