1 write to _handshakeInfo
dotnet-aot (1)
parent\dotnet\Commands\Test\MTP\TestApplicationHandler.cs (1)
114_handshakeInfo = currentHandshakeInfo;
32 references to _handshakeInfo
dotnet-aot (32)
parent\dotnet\Commands\Test\MTP\TestApplicationHandler.cs (32)
112if (!_handshakeInfo.HasValue) 116else if (_handshakeInfo.Value != currentHandshakeInfo) 118ReportHandshakeFailure(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo, _handshakeInfo.Value)); 145var handshakeInfo = _handshakeInfo.Value; 332if (!_handshakeInfo.HasValue) 349if (executionId != _handshakeInfo.Value.ExecutionId) 352throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages), _handshakeInfo.Value.ExecutionId)); 357_output.TestDiscovered(_handshakeInfo.Value.ExecutionId, 380if (!_handshakeInfo.HasValue) 395if (messageExecutionId != _handshakeInfo.Value.ExecutionId) 398throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages), _handshakeInfo.Value.ExecutionId)); 401var handshakeInfo = _handshakeInfo.Value; 451if (!_handshakeInfo.HasValue) 466if (executionId != _handshakeInfo.Value.ExecutionId) 469throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(TestInProgressMessages), _handshakeInfo.Value.ExecutionId)); 472var handshakeInfo = _handshakeInfo.Value; 500if (!_handshakeInfo.HasValue) 517if (fileArtifactExecutionId != _handshakeInfo.Value.ExecutionId) 520throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages), _handshakeInfo.Value.ExecutionId)); 523var handshakeInfo = _handshakeInfo.Value; 569if (!_handshakeInfo.HasValue) 581if (executionId != _handshakeInfo.Value.ExecutionId) 584CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(CoverageSummaryMessages), _handshakeInfo.Value.ExecutionId)); 607if (!_handshakeInfo.HasValue) 617if (sessionExecutionId != _handshakeInfo.Value.ExecutionId) 620throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 753if (!_handshakeInfo.HasValue && exitCode == ExitCode.Success) 764if (_receivedTestHostHandshake && _handshakeInfo.HasValue) 767_handshakeInfo.Value.ExecutionId, exitCode, outputData, errorData, 773!(_receivedAffectedTestsOrchestratorHandshake || (_options.CollectTestMap && !_handshakeInfo.HasValue))) 785_handshakeInfo?.Architecture, 786_handshakeInfo?.RuntimeFramework);