10 references to UnitTestingProgressStatus
Microsoft.CodeAnalysis.Features (10)
ExternalAccess\UnitTesting\SolutionCrawler\IUnitTestingSolutionCrawlerProgressReporter.cs (2)
28internal readonly struct UnitTestingProgressData(UnitTestingProgressStatus type, int? pendingItemCount) 30public UnitTestingProgressStatus Status { get; } = type;
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerProgressReporter.cs (8)
41public void Start() => ChangeProgressStatus(ref _progressStartCount, UnitTestingProgressStatus.Started); 42public void Stop() => ChangeProgressStatus(ref _progressStartCount, UnitTestingProgressStatus.Stopped); 44private void Evaluate() => ChangeProgressStatus(ref _progressEvaluateCount, UnitTestingProgressStatus.Evaluating); 45private void Pause() => ChangeProgressStatus(ref _progressEvaluateCount, UnitTestingProgressStatus.Paused); 51var progressData = new UnitTestingProgressData(UnitTestingProgressStatus.PendingItemCountUpdated, pendingItemCount); 66private void ChangeProgressStatus(ref int referenceCount, UnitTestingProgressStatus status) 68var start = status is UnitTestingProgressStatus.Started or UnitTestingProgressStatus.Evaluating;