1 write to _handshakeInfo
dotnet-aot (1)
parent\dotnet\Commands\Test\MTP\TestApplicationHandler.cs (1)
112
_handshakeInfo
= currentHandshakeInfo;
32 references to _handshakeInfo
dotnet-aot (32)
parent\dotnet\Commands\Test\MTP\TestApplicationHandler.cs (32)
110
if (!
_handshakeInfo
.HasValue)
114
else if (
_handshakeInfo
.Value != currentHandshakeInfo)
116
ReportHandshakeFailure(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo,
_handshakeInfo
.Value));
135
var handshakeInfo =
_handshakeInfo
.Value;
321
if (!
_handshakeInfo
.HasValue)
338
if (executionId !=
_handshakeInfo
.Value.ExecutionId)
341
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages),
_handshakeInfo
.Value.ExecutionId));
346
_output.TestDiscovered(
_handshakeInfo
.Value.ExecutionId,
369
if (!
_handshakeInfo
.HasValue)
384
if (messageExecutionId !=
_handshakeInfo
.Value.ExecutionId)
387
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages),
_handshakeInfo
.Value.ExecutionId));
390
var handshakeInfo =
_handshakeInfo
.Value;
440
if (!
_handshakeInfo
.HasValue)
455
if (executionId !=
_handshakeInfo
.Value.ExecutionId)
458
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(TestInProgressMessages),
_handshakeInfo
.Value.ExecutionId));
461
var handshakeInfo =
_handshakeInfo
.Value;
489
if (!
_handshakeInfo
.HasValue)
506
if (fileArtifactExecutionId !=
_handshakeInfo
.Value.ExecutionId)
509
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages),
_handshakeInfo
.Value.ExecutionId));
512
var handshakeInfo =
_handshakeInfo
.Value;
560
if (!
_handshakeInfo
.HasValue)
572
if (executionId !=
_handshakeInfo
.Value.ExecutionId)
575
CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(CoverageSummaryMessages),
_handshakeInfo
.Value.ExecutionId));
598
if (!
_handshakeInfo
.HasValue)
608
if (sessionExecutionId !=
_handshakeInfo
.Value.ExecutionId)
611
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent),
_handshakeInfo
.Value.ExecutionId));
744
if (!
_handshakeInfo
.HasValue && exitCode == ExitCode.Success)
755
if (_receivedTestHostHandshake &&
_handshakeInfo
.HasValue)
758
_handshakeInfo
.Value.ExecutionId, exitCode, outputData, errorData,
764
!(_receivedAffectedTestsOrchestratorHandshake || (_options.CollectTestMap && !
_handshakeInfo
.HasValue)))
775
_handshakeInfo
?.TargetFramework ?? _module.TargetFramework,
776
_handshakeInfo
?.Architecture);