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; 197if (!_handshakeInfo.HasValue) 214if (executionId != _handshakeInfo.Value.ExecutionId) 217throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages), _handshakeInfo.Value.ExecutionId)); 222_output.TestDiscovered(_handshakeInfo.Value.ExecutionId, 239if (!_handshakeInfo.HasValue) 254if (messageExecutionId != _handshakeInfo.Value.ExecutionId) 257throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages), _handshakeInfo.Value.ExecutionId)); 260var handshakeInfo = _handshakeInfo.Value; 308if (!_handshakeInfo.HasValue) 313if (testInProgressMessages.ExecutionId != _handshakeInfo.Value.ExecutionId) 316throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testInProgressMessages.ExecutionId, nameof(TestInProgressMessages), _handshakeInfo.Value.ExecutionId)); 319var handshakeInfo = _handshakeInfo.Value; 342if (!_handshakeInfo.HasValue) 357if (fileArtifactExecutionId != _handshakeInfo.Value.ExecutionId) 360throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages), _handshakeInfo.Value.ExecutionId)); 363var handshakeInfo = _handshakeInfo.Value; 389if (!_handshakeInfo.HasValue) 399if (sessionExecutionId != _handshakeInfo.Value.ExecutionId) 402throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 476if (_receivedTestHostHandshake && _handshakeInfo.HasValue) 480_output.AssemblyRunCompleted(_handshakeInfo.Value.ExecutionId, exitCode, outputData, errorData);