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;
257
if (!
_handshakeInfo
.HasValue)
274
if (executionId !=
_handshakeInfo
.Value.ExecutionId)
277
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages),
_handshakeInfo
.Value.ExecutionId));
282
_output.TestDiscovered(
_handshakeInfo
.Value.ExecutionId,
305
if (!
_handshakeInfo
.HasValue)
320
if (messageExecutionId !=
_handshakeInfo
.Value.ExecutionId)
323
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages),
_handshakeInfo
.Value.ExecutionId));
326
var handshakeInfo =
_handshakeInfo
.Value;
376
if (!
_handshakeInfo
.HasValue)
381
if (testInProgressMessages.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
384
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testInProgressMessages.ExecutionId, nameof(TestInProgressMessages),
_handshakeInfo
.Value.ExecutionId));
387
var handshakeInfo =
_handshakeInfo
.Value;
410
if (!
_handshakeInfo
.HasValue)
427
if (fileArtifactExecutionId !=
_handshakeInfo
.Value.ExecutionId)
430
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages),
_handshakeInfo
.Value.ExecutionId));
433
var handshakeInfo =
_handshakeInfo
.Value;
477
if (!
_handshakeInfo
.HasValue)
487
if (sessionExecutionId !=
_handshakeInfo
.Value.ExecutionId)
490
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent),
_handshakeInfo
.Value.ExecutionId));
626
if (_receivedTestHostHandshake &&
_handshakeInfo
.HasValue)
630
_output.AssemblyRunCompleted(
_handshakeInfo
.Value.ExecutionId, exitCode, outputData, errorData);