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)
474CommunicationsUtilities.Trace($"Shutting down with reason: {_shutdownReason}, and exception: {_shutdownException}."); 489if (_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse) 499if (_shutdownReason != NodeEngineShutdownReason.BuildCompleteReuse) 506_taskHostNodeManager.ShutdownConnectedNodes(_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse); 549_nodeEndpoint.SendData(new NodeShutdown(_shutdownReason == NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested, exception)); 561MSBuildEventSource.Log.OutOfProcNodeShutDownStop(_shutdownReason.ToString()); 563return _shutdownReason; 892if (_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse)