1 write to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
65ThreadingContext = 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)
76ThreadingContext.ThrowIfNotOnUIThread(); 131ThreadingContext.ThrowIfNotOnUIThread(); 141ThreadingContext.ThrowIfNotOnUIThread(); 161ThreadingContext.ThrowIfNotOnUIThread(); 206ThreadingContext.ThrowIfNotOnUIThread(); 230ThreadingContext.ThrowIfNotOnUIThread(); 259ThreadingContext.ThrowIfNotOnUIThread(); 314return (new RenameTrackingCodeAction(ThreadingContext, document, title, refactorNotifyServices, undoHistoryRegistry, GlobalOptions), 329ThreadingContext.ThrowIfNotOnUIThread(); 338ThreadingContext.ThrowIfNotOnUIThread(); 376ThreadingContext.ThrowIfNotOnUIThread(); 382ThreadingContext.ThrowIfNotOnUIThread();
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
59_threadingContext = stateMachine.ThreadingContext;