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