1 write to _handshakeInfo
dotnet (1)
Commands\Test\MTP\TestApplicationHandler.cs (1)
97_handshakeInfo = currentHandshakeInfo;
25 references to _handshakeInfo
dotnet (25)
Commands\Test\MTP\TestApplicationHandler.cs (25)
95if (!_handshakeInfo.HasValue) 99else if (_handshakeInfo.Value != currentHandshakeInfo) 101ReportHandshakeFailure(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo, _handshakeInfo.Value)); 120var handshakeInfo = _handshakeInfo.Value; 257if (!_handshakeInfo.HasValue) 274if (executionId != _handshakeInfo.Value.ExecutionId) 277throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages), _handshakeInfo.Value.ExecutionId)); 282_output.TestDiscovered(_handshakeInfo.Value.ExecutionId, 305if (!_handshakeInfo.HasValue) 320if (messageExecutionId != _handshakeInfo.Value.ExecutionId) 323throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages), _handshakeInfo.Value.ExecutionId)); 326var handshakeInfo = _handshakeInfo.Value; 376if (!_handshakeInfo.HasValue) 381if (testInProgressMessages.ExecutionId != _handshakeInfo.Value.ExecutionId) 384throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testInProgressMessages.ExecutionId, nameof(TestInProgressMessages), _handshakeInfo.Value.ExecutionId)); 387var handshakeInfo = _handshakeInfo.Value; 410if (!_handshakeInfo.HasValue) 427if (fileArtifactExecutionId != _handshakeInfo.Value.ExecutionId) 430throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages), _handshakeInfo.Value.ExecutionId)); 433var handshakeInfo = _handshakeInfo.Value; 477if (!_handshakeInfo.HasValue) 487if (sessionExecutionId != _handshakeInfo.Value.ExecutionId) 490throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 626if (_receivedTestHostHandshake && _handshakeInfo.HasValue) 630_output.AssemblyRunCompleted(_handshakeInfo.Value.ExecutionId, exitCode, outputData, errorData);