1 write to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
ExtractMethod\ExtractMethodCommandHandler.cs (1)
65_threadingContext = threadingContext;
8 references to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (8)
ExtractMethod\ExtractMethodCommandHandler.cs (8)
98_threadingContext.JoinableTaskFactory.Run(() => _renameService.ActiveSession.CommitAsync(previewChanges: false, CancellationToken.None)); 126_threadingContext.ThrowIfNotOnUIThread(); 141_threadingContext.ThrowIfNotOnUIThread(); 167await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 197await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 215_threadingContext.ThrowIfNotOnUIThread(); 249await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 263await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);