1 write to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
66ThreadingContext = threadingContext;
20 references to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (20)
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (7)
57_stateMachine.ThreadingContext.ThrowIfNotOnUIThread(); 68await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(CancellationToken.None); 139await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 162await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 175await _stateMachine.ThreadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(CancellationToken.None); 225_stateMachine.ThreadingContext.ThrowIfNotOnUIThread(); 263_stateMachine.ThreadingContext.ThrowIfNotOnUIThread();
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (12)
77ThreadingContext.ThrowIfNotOnUIThread(); 132ThreadingContext.ThrowIfNotOnUIThread(); 142ThreadingContext.ThrowIfNotOnUIThread(); 162ThreadingContext.ThrowIfNotOnUIThread(); 207ThreadingContext.ThrowIfNotOnUIThread(); 231ThreadingContext.ThrowIfNotOnUIThread(); 262ThreadingContext.ThrowIfNotOnUIThread(); 317return (new RenameTrackingCodeAction(ThreadingContext, document, title, refactorNotifyServices, undoHistoryRegistry, GlobalOptions), 332ThreadingContext.ThrowIfNotOnUIThread(); 341ThreadingContext.ThrowIfNotOnUIThread(); 379ThreadingContext.ThrowIfNotOnUIThread(); 385ThreadingContext.ThrowIfNotOnUIThread();
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
62_threadingContext = stateMachine.ThreadingContext;