1 write to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameSession.cs (1)
147_threadingContext = threadingContext;
33 references to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (33)
InlineRename\InlineRenameSession.cs (26)
267_threadingContext.ThrowIfNotOnUIThread(); 291_threadingContext.ThrowIfNotOnUIThread(); 306_threadingContext.ThrowIfNotOnUIThread(); 314_allRenameLocationsTask = _threadingContext.JoinableTaskFactory.RunAsync(async () => 328await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true, cancellationToken); 366_threadingContext.ThrowIfNotOnUIThread(); 375_threadingContext.ThrowIfNotOnUIThread(); 404_threadingContext.ThrowIfNotOnUIThread(); 422_threadingContext.ThrowIfNotOnUIThread(); 450_threadingContext.ThrowIfNotOnUIThread(); 458_threadingContext.ThrowIfNotOnUIThread(); 506_threadingContext.JoinableTaskFactory.RunAsync(async () => 508await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true); 516_threadingContext.ThrowIfNotOnUIThread(); 534_conflictResolutionTask = _threadingContext.JoinableTaskFactory.RunAsync(async () => 563var replacementOperation = _threadingContext.JoinableTaskFactory.RunAsync(async () => 574await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true, cancellationToken); 589_threadingContext.ThrowIfNotOnUIThread(); 610_threadingContext.ThrowIfNotOnUIThread(); 649_threadingContext.ThrowIfNotOnUIThread(); 672await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 742return _threadingContext.JoinableTaskFactory.Run(() => CommitWorkerAsync(previewChanges, canUseBackgroundWorkIndicator: false, CancellationToken.None)); 752await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 827await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 855await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 877await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (7)
100_session._threadingContext.ThrowIfNotOnUIThread(); 172_session._threadingContext.ThrowIfNotOnUIThread(); 221_session._threadingContext.ThrowIfNotOnUIThread(); 274_session._threadingContext.ThrowIfNotOnUIThread(); 296_session._threadingContext.ThrowIfNotOnUIThread(); 318_session._threadingContext.ThrowIfNotOnUIThread(); 589_session._threadingContext.ThrowIfNotOnUIThread();