5 writes to _shutdownReason
Microsoft.Build (5)
BackEnd\Node\OutOfProcNode.cs (5)
451_shutdownReason = NodeEngineShutdownReason.Error; 585_shutdownReason = NodeEngineShutdownReason.ConnectionFailed; 873_shutdownReason = buildComplete.PrepareForReuse ? NodeEngineShutdownReason.BuildCompleteReuse : NodeEngineShutdownReason.BuildComplete; 881_shutdownReason = NodeEngineShutdownReason.BuildComplete; 895_shutdownReason = NodeEngineShutdownReason.BuildComplete;
8 references to _shutdownReason
Microsoft.Build (8)
BackEnd\Node\OutOfProcNode.cs (8)
460CommunicationsUtilities.Trace($"Shutting down with reason: {_shutdownReason}, and exception: {_shutdownException}."); 475if (_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse) 485if (_shutdownReason != NodeEngineShutdownReason.BuildCompleteReuse) 492_taskHostNodeManager.ShutdownConnectedNodes(_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse); 535_nodeEndpoint.SendData(new NodeShutdown(_shutdownReason == NodeEngineShutdownReason.Error ? NodeShutdownReason.Error : NodeShutdownReason.Requested, exception)); 547MSBuildEventSource.Log.OutOfProcNodeShutDownStop(_shutdownReason.ToString()); 549return _shutdownReason; 874if (_shutdownReason == NodeEngineShutdownReason.BuildCompleteReuse)