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)
473CommunicationsUtilities.Trace($"Shutting down with reason: {_shutdownReason}, and exception: {_shutdownException}."); 488if (_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse) 498if (_shutdownReason != NodeEngineShutdownReason.BuildCompleteReuse) 505_taskHostNodeManager.ShutdownConnectedNodes(_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse); 548_nodeEndpoint.SendData(new NodeShutdown(_shutdownReason == NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested, exception)); 560MSBuildEventSource.Log.OutOfProcNodeShutDownStop(_shutdownReason.ToString()); 562return _shutdownReason; 889if (_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse)