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