5 writes to _shutdownReason
Microsoft.Build (5)
BackEnd\Node\OutOfProcNode.cs (5)
451
_shutdownReason
= NodeEngineShutdownReason.Error;
585
_shutdownReason
= NodeEngineShutdownReason.ConnectionFailed;
873
_shutdownReason
= buildComplete.PrepareForReuse ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete;
881
_shutdownReason
= NodeEngineShutdownReason.BuildComplete;
895
_shutdownReason
= NodeEngineShutdownReason.BuildComplete;
8 references to _shutdownReason
Microsoft.Build (8)
BackEnd\Node\OutOfProcNode.cs (8)
460
CommunicationsUtilities.Trace($"Shutting down with reason: {
_shutdownReason
}, and exception: {_shutdownException}.");
475
if (
_shutdownReason
== NodeEngineShutdownReason.BuildCompleteReuse)
485
if (
_shutdownReason
!= NodeEngineShutdownReason.BuildCompleteReuse)
492
_taskHostNodeManager.ShutdownConnectedNodes(
_shutdownReason
== NodeEngineShutdownReason.BuildCompleteReuse);
535
_nodeEndpoint.SendData(new NodeShutdown(
_shutdownReason
== NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested, exception));
547
MSBuildEventSource.Log.OutOfProcNodeShutDownStop(
_shutdownReason
.ToString());
549
return
_shutdownReason
;
874
if (
_shutdownReason
== NodeEngineShutdownReason.BuildCompleteReuse)