1 write to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameSession.cs (1)
153_threadingContext = threadingContext;
32 references to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (32)
InlineRename\InlineRenameSession.cs (25)
267_threadingContext.ThrowIfNotOnUIThread(); 291_threadingContext.ThrowIfNotOnUIThread(); 306_threadingContext.ThrowIfNotOnUIThread(); 314AllRenameLocationsTask = _threadingContext.JoinableTaskFactory.RunAsync(async () => 328await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true, cancellationToken); 367_threadingContext.ThrowIfNotOnUIThread(); 376_threadingContext.ThrowIfNotOnUIThread(); 412_threadingContext.ThrowIfNotOnUIThread(); 430_threadingContext.ThrowIfNotOnUIThread(); 458_threadingContext.ThrowIfNotOnUIThread(); 466_threadingContext.ThrowIfNotOnUIThread(); 514_threadingContext.JoinableTaskFactory.RunAsync(async () => 516await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(alwaysYield: true); 524_threadingContext.ThrowIfNotOnUIThread(); 542_conflictResolutionTask = _threadingContext.JoinableTaskFactory.RunAsync(async () => 571var replacementOperation = _threadingContext.JoinableTaskFactory.RunAsync(async () => 598await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 619_threadingContext.ThrowIfNotOnUIThread(); 658_threadingContext.ThrowIfNotOnUIThread(); 675_threadingContext.ThrowIfNotOnUIThread(); 750return _threadingContext.JoinableTaskFactory.Run(() => CommitWorkerAsync(previewChanges, canUseBackgroundWorkIndicator: false, operationContext)); 785await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(); 883await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 909await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 960_threadingContext.ThrowIfNotOnUIThread();
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (7)
99_session._threadingContext.ThrowIfNotOnUIThread(); 171_session._threadingContext.ThrowIfNotOnUIThread(); 220_session._threadingContext.ThrowIfNotOnUIThread(); 273_session._threadingContext.ThrowIfNotOnUIThread(); 295_session._threadingContext.ThrowIfNotOnUIThread(); 317_session._threadingContext.ThrowIfNotOnUIThread(); 589_session._threadingContext.ThrowIfNotOnUIThread();