1 write to _handshakeInfo
dotnet (1)
Commands\Test\MTP\TestApplicationHandler.cs (1)
75_handshakeInfo = currentHandshakeInfo;
25 references to _handshakeInfo
dotnet (25)
Commands\Test\MTP\TestApplicationHandler.cs (25)
73if (!_handshakeInfo.HasValue) 77else if (_handshakeInfo.Value != currentHandshakeInfo) 79ReportHandshakeFailure(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo, _handshakeInfo.Value)); 89var handshakeInfo = _handshakeInfo.Value; 156if (!_handshakeInfo.HasValue) 173if (executionId != _handshakeInfo.Value.ExecutionId) 176throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages), _handshakeInfo.Value.ExecutionId)); 181_output.TestDiscovered(_handshakeInfo.Value.ExecutionId, 198if (!_handshakeInfo.HasValue) 213if (messageExecutionId != _handshakeInfo.Value.ExecutionId) 216throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages), _handshakeInfo.Value.ExecutionId)); 219var handshakeInfo = _handshakeInfo.Value; 267if (!_handshakeInfo.HasValue) 272if (testInProgressMessages.ExecutionId != _handshakeInfo.Value.ExecutionId) 275throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testInProgressMessages.ExecutionId, nameof(TestInProgressMessages), _handshakeInfo.Value.ExecutionId)); 278var handshakeInfo = _handshakeInfo.Value; 301if (!_handshakeInfo.HasValue) 316if (fileArtifactExecutionId != _handshakeInfo.Value.ExecutionId) 319throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages), _handshakeInfo.Value.ExecutionId)); 322var handshakeInfo = _handshakeInfo.Value; 348if (!_handshakeInfo.HasValue) 358if (sessionExecutionId != _handshakeInfo.Value.ExecutionId) 361throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 427if (_receivedTestHostHandshake && _handshakeInfo.HasValue) 431_output.AssemblyRunCompleted(_handshakeInfo.Value.ExecutionId, exitCode, outputData, errorData);