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(); 130_threadingContext.ThrowIfNotOnUIThread(); 174await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 195_threadingContext.ThrowIfNotOnUIThread(); 224await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);