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; 259if (!_handshakeInfo.HasValue) 276if (executionId != _handshakeInfo.Value.ExecutionId) 279throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages), _handshakeInfo.Value.ExecutionId)); 284_output.TestDiscovered(_handshakeInfo.Value.ExecutionId, 307if (!_handshakeInfo.HasValue) 322if (messageExecutionId != _handshakeInfo.Value.ExecutionId) 325throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages), _handshakeInfo.Value.ExecutionId)); 328var handshakeInfo = _handshakeInfo.Value; 378if (!_handshakeInfo.HasValue) 383if (testInProgressMessages.ExecutionId != _handshakeInfo.Value.ExecutionId) 386throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testInProgressMessages.ExecutionId, nameof(TestInProgressMessages), _handshakeInfo.Value.ExecutionId)); 389var handshakeInfo = _handshakeInfo.Value; 412if (!_handshakeInfo.HasValue) 429if (fileArtifactExecutionId != _handshakeInfo.Value.ExecutionId) 432throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages), _handshakeInfo.Value.ExecutionId)); 435var handshakeInfo = _handshakeInfo.Value; 479if (!_handshakeInfo.HasValue) 489if (sessionExecutionId != _handshakeInfo.Value.ExecutionId) 492throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 628if (_receivedTestHostHandshake && _handshakeInfo.HasValue) 632_output.AssemblyRunCompleted(_handshakeInfo.Value.ExecutionId, exitCode, outputData, errorData);