1 write to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
63ThreadingContext = threadingContext;
20 references to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (20)
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (7)
59_stateMachine.ThreadingContext.ThrowIfNotOnUIThread(); 70await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(CancellationToken.None); 141await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 164await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 177await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(CancellationToken.None); 225_stateMachine.ThreadingContext.ThrowIfNotOnUIThread(); 263_stateMachine.ThreadingContext.ThrowIfNotOnUIThread();
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (12)
73ThreadingContext.ThrowIfNotOnUIThread(); 128ThreadingContext.ThrowIfNotOnUIThread(); 138ThreadingContext.ThrowIfNotOnUIThread(); 158ThreadingContext.ThrowIfNotOnUIThread(); 203ThreadingContext.ThrowIfNotOnUIThread(); 227ThreadingContext.ThrowIfNotOnUIThread(); 256ThreadingContext.ThrowIfNotOnUIThread(); 312return (new RenameTrackingCodeAction(ThreadingContext, document, title, refactorNotifyServices, undoHistoryRegistry, GlobalOptions), 327ThreadingContext.ThrowIfNotOnUIThread(); 336ThreadingContext.ThrowIfNotOnUIThread(); 374ThreadingContext.ThrowIfNotOnUIThread(); 380ThreadingContext.ThrowIfNotOnUIThread();
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
61_threadingContext = stateMachine.ThreadingContext;