1 write to _threadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\ProjectCodeModelFactory.cs (1)
50_threadingContext = threadingContext;
5 references to _threadingContext
Microsoft.VisualStudio.LanguageServices.Implementation (5)
CodeModel\ProjectCodeModelFactory.cs (5)
71Debug.Assert(!_threadingContext.JoinableTaskContext.IsOnMainThread, "The following context switch is not expected to cause runtime overhead."); 88await _threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); 241var projectCodeModel = new ProjectCodeModel(_threadingContext, id, codeModelInstanceFactory, _visualStudioWorkspace, _serviceProvider, this); 280_ = _threadingContext.RunWithShutdownBlockAsync(async cancellationToken => 282await _threadingContext.JoinableTaskFactory.StartOnIdle(