1 write to ThreadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
64ThreadingContext = 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)
74ThreadingContext.ThrowIfNotOnUIThread(); 129ThreadingContext.ThrowIfNotOnUIThread(); 139ThreadingContext.ThrowIfNotOnUIThread(); 159ThreadingContext.ThrowIfNotOnUIThread(); 204ThreadingContext.ThrowIfNotOnUIThread(); 228ThreadingContext.ThrowIfNotOnUIThread(); 257ThreadingContext.ThrowIfNotOnUIThread(); 313return (new RenameTrackingCodeAction(ThreadingContext, document, title, refactorNotifyServices, undoHistoryRegistry, GlobalOptions), 328ThreadingContext.ThrowIfNotOnUIThread(); 337ThreadingContext.ThrowIfNotOnUIThread(); 375ThreadingContext.ThrowIfNotOnUIThread(); 381ThreadingContext.ThrowIfNotOnUIThread();
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
61_threadingContext = stateMachine.ThreadingContext;