5 writes to _shutdownReason
Microsoft.Build (5)
BackEnd\Node\OutOfProcNode.cs (5)
436_shutdownReason = NodeEngineShutdownReason.Error; 567_shutdownReason = NodeEngineShutdownReason.ConnectionFailed; 847_shutdownReason = buildComplete.PrepareForReuse ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete; 854_shutdownReason = NodeEngineShutdownReason.BuildComplete; 868_shutdownReason = NodeEngineShutdownReason.BuildComplete;
7 references to _shutdownReason
Microsoft.Build (7)
BackEnd\Node\OutOfProcNode.cs (7)
445CommunicationsUtilities.Trace("Shutting down with reason: {0}, and exception: {1}.", _shutdownReason, _shutdownException); 452if (_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse) 465if (_shutdownReason != NodeEngineShutdownReason.BuildCompleteReuse) 472_taskHostNodeManager.ShutdownConnectedNodes(_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse); 515_nodeEndpoint.SendData(new NodeShutdown(_shutdownReason == NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested, exception)); 527return _shutdownReason; 848if (_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse)