8 writes to _state
dotnet-aot (8)
parent\dotnet\Commands\Test\MTP\InvocationLifetimeCoordinator.cs (8)
236_state = State.Accepted; 259_state = State.SetupSucceeded; 282_state = State.TestsCompleted; 403_state = State.CleanupRequested; 408_state = State.FallenBack; 453_state = State.Failed; 569_state = State.FallenBack; 593_state = State.Failed;
21 references to _state
dotnet-aot (21)
parent\dotnet\Commands\Test\MTP\InvocationLifetimeCoordinator.cs (21)
120return _state is State.Accepted or State.SetupSucceeded or State.TestsCompleted or State.CleanupRequested; 135return _state == State.Failed || _siblingHandshakeRejected; 168if (_state is State.Pending or State.Accepted && _readinessTimer is null) 188if (_state != State.Pending) 192Logger.LogTrace($"Ignoring an invocation lifetime handshake from '{_ownerName}' in state '{_state}'."); 246if (_state != State.Accepted) 280if (_state == State.SetupSucceeded) 284else if (!(_state == State.Failed && _ownerControlLost && _setupSucceeded)) 306if (_state is not (State.Accepted or State.SetupSucceeded or State.TestsCompleted)) 308Logger.LogTrace($"The invocation lifetime control connection of '{_ownerName}' closed in state '{_state}'."); 337if (_state != State.CleanupRequested) 353switch (_state) 400requestCleanup = _state == State.TestsCompleted && owner is not null; 405else if (_state == State.Pending) 412_siblingLaunch.TrySetResult(_state == State.FallenBack ? InvocationLifetimeSiblingLaunch.Independent : InvocationLifetimeSiblingLaunch.Skip); 450failed = cleanupFailed || _state == State.Failed || _siblingHandshakeRejected; 545if (_state == State.Pending) 554else if (_state == State.Accepted) 575if (_state is State.Pending or State.FallenBack or State.Failed) 578Logger.LogTrace($"Ignoring '{messageName}' from '{_ownerName}' in state '{_state}'."); 587if (_state == State.Failed)