1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\ProjectCodeModelFactory.cs (1)
56_threadingContext = threadingContext;
6 references to _threadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (6)
CodeModel\ProjectCodeModelFactory.cs (6)
88Debug.Assert(!_threadingContext.JoinableTaskContext.IsOnMainThread, "The following context switch is not expected to cause runtime overhead."); 109await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 130if (_threadingContext.DisposalToken.IsCancellationRequested) 192var projectCodeModel = new ProjectCodeModel(_threadingContext, id, codeModelInstanceFactory, _visualStudioWorkspace, _serviceProvider, this); 231_ = _threadingContext.RunWithShutdownBlockAsync(async cancellationToken => 233await _threadingContext.JoinableTaskFactory.StartOnIdle(