5 writes to _shutdownReason
Microsoft.Build (5)
BackEnd\Node\OutOfProcNode.cs (5)
465
_shutdownReason
= NodeEngineShutdownReason.Error;
599
_shutdownReason
= NodeEngineShutdownReason.ConnectionFailed;
891
_shutdownReason
= buildComplete.PrepareForReuse ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete;
899
_shutdownReason
= NodeEngineShutdownReason.BuildComplete;
913
_shutdownReason
= NodeEngineShutdownReason.BuildComplete;
8 references to _shutdownReason
Microsoft.Build (8)
BackEnd\Node\OutOfProcNode.cs (8)
474
CommunicationsUtilities.Trace($"Shutting down with reason: {
_shutdownReason
}, and exception: {_shutdownException}.");
489
if (
_shutdownReason
== NodeEngineShutdownReason.BuildCompleteReuse)
499
if (
_shutdownReason
!= NodeEngineShutdownReason.BuildCompleteReuse)
506
_taskHostNodeManager.ShutdownConnectedNodes(
_shutdownReason
== NodeEngineShutdownReason.BuildCompleteReuse);
549
_nodeEndpoint.SendData(new NodeShutdown(
_shutdownReason
== NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested, exception));
561
MSBuildEventSource.Log.OutOfProcNodeShutDownStop(
_shutdownReason
.ToString());
563
return
_shutdownReason
;
892
if (
_shutdownReason
== NodeEngineShutdownReason.BuildCompleteReuse)