5 writes to _shutdownReason
Microsoft.Build (5)
BackEnd\Node\OutOfProcNode.cs (5)
464
_shutdownReason
= NodeEngineShutdownReason.Error;
598
_shutdownReason
= NodeEngineShutdownReason.ConnectionFailed;
888
_shutdownReason
= buildComplete.PrepareForReuse ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete;
896
_shutdownReason
= NodeEngineShutdownReason.BuildComplete;
910
_shutdownReason
= NodeEngineShutdownReason.BuildComplete;
8 references to _shutdownReason
Microsoft.Build (8)
BackEnd\Node\OutOfProcNode.cs (8)
473
CommunicationsUtilities.Trace($"Shutting down with reason: {
_shutdownReason
}, and exception: {_shutdownException}.");
488
if (
_shutdownReason
== NodeEngineShutdownReason.BuildCompleteReuse)
498
if (
_shutdownReason
!= NodeEngineShutdownReason.BuildCompleteReuse)
505
_taskHostNodeManager.ShutdownConnectedNodes(
_shutdownReason
== NodeEngineShutdownReason.BuildCompleteReuse);
548
_nodeEndpoint.SendData(new NodeShutdown(
_shutdownReason
== NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested, exception));
560
MSBuildEventSource.Log.OutOfProcNodeShutDownStop(
_shutdownReason
.ToString());
562
return
_shutdownReason
;
889
if (
_shutdownReason
== NodeEngineShutdownReason.BuildCompleteReuse)