1 write to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (1)
ExtractMethod\ExtractMethodCommandHandler.cs (1)
55_threadingContext = threadingContext;
6 references to _threadingContext
Microsoft.CodeAnalysis.EditorFeatures (6)
ExtractMethod\ExtractMethodCommandHandler.cs (6)
87_threadingContext.JoinableTaskFactory.Run(() => _renameService.ActiveSession.CommitAsync(previewChanges: false, context.OperationContext)); 115_threadingContext.ThrowIfNotOnUIThread(); 134_threadingContext.ThrowIfNotOnUIThread(); 178await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 199await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(waitContext.AllowCancellation); 230await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);