1 write to _handshakeInfo
dotnet (1)
Commands\Test\MTP\TestApplicationHandler.cs (1)
55_handshakeInfo = currentHandshakeInfo;
21 references to _handshakeInfo
dotnet (21)
Commands\Test\MTP\TestApplicationHandler.cs (21)
53if (!_handshakeInfo.HasValue) 57else if (_handshakeInfo.Value != currentHandshakeInfo) 59throw new InvalidOperationException(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo, _handshakeInfo.Value)); 71var handshakeInfo = _handshakeInfo.Value; 100if (!_handshakeInfo.HasValue) 105if (discoveredTestMessages.ExecutionId != _handshakeInfo.Value.ExecutionId) 108throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, discoveredTestMessages.ExecutionId, nameof(DiscoveredTestMessages), _handshakeInfo.Value.ExecutionId)); 113_output.TestDiscovered(_handshakeInfo.Value.ExecutionId, 128if (!_handshakeInfo.HasValue) 133if (testResultMessage.ExecutionId != _handshakeInfo.Value.ExecutionId) 136throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testResultMessage.ExecutionId, nameof(TestResultMessages), _handshakeInfo.Value.ExecutionId)); 139var handshakeInfo = _handshakeInfo.Value; 181if (!_handshakeInfo.HasValue) 186if (fileArtifactMessages.ExecutionId != _handshakeInfo.Value.ExecutionId) 189throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactMessages.ExecutionId, nameof(FileArtifactMessages), _handshakeInfo.Value.ExecutionId)); 192var handshakeInfo = _handshakeInfo.Value; 211if (!_handshakeInfo.HasValue) 216if (sessionEvent.ExecutionId != _handshakeInfo.Value.ExecutionId) 219throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionEvent.ExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 272if (_receivedTestHostHandshake && _handshakeInfo.HasValue) 276_output.AssemblyRunCompleted(_handshakeInfo.Value.ExecutionId, exitCode, outputData, errorData);