52 references to BuildRequestEngineStatus
Microsoft.Build (27)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (23)
51
private
BuildRequestEngineStatus
_status;
132
_status =
BuildRequestEngineStatus
.Uninitialized;
180
public
BuildRequestEngineStatus
Status => _status;
191
ErrorUtilities.VerifyThrow(_status ==
BuildRequestEngineStatus
.Uninitialized, "Engine must be in the Uninitiailzed state, but is {0}", _status);
199
ChangeStatus(
BuildRequestEngineStatus
.Idle);
216
ErrorUtilities.VerifyThrow(_status ==
BuildRequestEngineStatus
.Active || _status ==
BuildRequestEngineStatus
.Idle || _status ==
BuildRequestEngineStatus
.Waiting, "Engine must be Active, Idle or Waiting to clean up, but is {0}.", _status);
314
ChangeStatus(
BuildRequestEngineStatus
.Uninitialized);
330
ErrorUtilities.VerifyThrow(_status !=
BuildRequestEngineStatus
.Shutdown && _status !=
BuildRequestEngineStatus
.Uninitialized, "Engine loop not yet started, status is {0}.", _status);
400
ErrorUtilities.VerifyThrow(_status !=
BuildRequestEngineStatus
.Shutdown && _status !=
BuildRequestEngineStatus
.Uninitialized, "Engine loop not yet started, status is {0}.", _status);
501
ErrorUtilities.VerifyThrow(_status !=
BuildRequestEngineStatus
.Shutdown && _status !=
BuildRequestEngineStatus
.Uninitialized, "Engine loop not yet started, status is {0}.", _status);
612
ErrorUtilities.VerifyThrow(_status ==
BuildRequestEngineStatus
.Uninitialized, "Cleanup wasn't called, status is {0}", _status);
615
ChangeStatus(
BuildRequestEngineStatus
.Shutdown);
687
private void RaiseEngineStatusChanged(
BuildRequestEngineStatus
newStatus)
707
private void ChangeStatus(
BuildRequestEngineStatus
newStatus)
786
ChangeStatus(
BuildRequestEngineStatus
.Active);
791
waitingRequests == 0 ?
BuildRequestEngineStatus
.Idle :
BuildRequestEngineStatus
.Waiting);
796
ChangeStatus(
BuildRequestEngineStatus
.Active);
BackEnd\Components\BuildRequestEngine\IBuildRequestEngine.cs (2)
36
internal delegate void EngineStatusChangedDelegate(
BuildRequestEngineStatus
newStatus);
137
BuildRequestEngineStatus
Status { get; }
BackEnd\Node\InProcNode.cs (1)
309
if (_buildRequestEngine != null && _buildRequestEngine.Status !=
BuildRequestEngineStatus
.Uninitialized)
BackEnd\Node\OutOfProcNode.cs (1)
448
if (_buildRequestEngine != null && _buildRequestEngine.Status !=
BuildRequestEngineStatus
.Uninitialized)
Microsoft.Build.Engine.UnitTests (25)
BackEnd\BuildRequestEngine_Tests.cs (25)
265
private
BuildRequestEngineStatus
_engineStatusChanged_Status;
302
if (_engine.Status !=
BuildRequestEngineStatus
.Uninitialized)
344
VerifyEngineStatus(
BuildRequestEngineStatus
.Uninitialized, true);
348
VerifyEngineStatus(
BuildRequestEngineStatus
.Idle);
351
VerifyEngineStatus(
BuildRequestEngineStatus
.Active);
358
VerifyEngineStatus(
BuildRequestEngineStatus
.Uninitialized);
375
VerifyEngineStatus(
BuildRequestEngineStatus
.Uninitialized, true);
377
VerifyEngineStatus(
BuildRequestEngineStatus
.Idle);
380
VerifyEngineStatus(
BuildRequestEngineStatus
.Active);
386
VerifyEngineStatus(
BuildRequestEngineStatus
.Idle);
409
VerifyEngineStatus(
BuildRequestEngineStatus
.Uninitialized, true);
411
VerifyEngineStatus(
BuildRequestEngineStatus
.Idle);
414
VerifyEngineStatus(
BuildRequestEngineStatus
.Active);
422
VerifyEngineStatus(
BuildRequestEngineStatus
.Waiting);
432
VerifyEngineStatus(
BuildRequestEngineStatus
.Active);
439
VerifyEngineStatus(
BuildRequestEngineStatus
.Idle);
464
VerifyEngineStatus(
BuildRequestEngineStatus
.Uninitialized, true);
466
VerifyEngineStatus(
BuildRequestEngineStatus
.Idle);
469
VerifyEngineStatus(
BuildRequestEngineStatus
.Active);
476
VerifyEngineStatus(
BuildRequestEngineStatus
.Waiting);
497
VerifyEngineStatus(
BuildRequestEngineStatus
.Active);
503
VerifyEngineStatus(
BuildRequestEngineStatus
.Idle);
518
private void VerifyEngineStatus(
BuildRequestEngineStatus
expectedStatus, bool isNotKickedOff = false)
528
BuildRequestEngineStatus
engineStatus = engine.Status;
582
private void Engine_EngineStatusChanged(
BuildRequestEngineStatus
newStatus)