1 write to _handshakeInfo
dotnet (1)
Commands\Test\MTP\TestApplicationHandler.cs (1)
75
_handshakeInfo
= currentHandshakeInfo;
25 references to _handshakeInfo
dotnet (25)
Commands\Test\MTP\TestApplicationHandler.cs (25)
73
if (!
_handshakeInfo
.HasValue)
77
else if (
_handshakeInfo
.Value != currentHandshakeInfo)
79
ReportHandshakeFailure(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo,
_handshakeInfo
.Value));
89
var handshakeInfo =
_handshakeInfo
.Value;
156
if (!
_handshakeInfo
.HasValue)
173
if (executionId !=
_handshakeInfo
.Value.ExecutionId)
176
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, executionId, nameof(DiscoveredTestMessages),
_handshakeInfo
.Value.ExecutionId));
181
_output.TestDiscovered(
_handshakeInfo
.Value.ExecutionId,
198
if (!
_handshakeInfo
.HasValue)
213
if (messageExecutionId !=
_handshakeInfo
.Value.ExecutionId)
216
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, messageExecutionId, nameof(TestResultMessages),
_handshakeInfo
.Value.ExecutionId));
219
var handshakeInfo =
_handshakeInfo
.Value;
267
if (!
_handshakeInfo
.HasValue)
272
if (testInProgressMessages.ExecutionId !=
_handshakeInfo
.Value.ExecutionId)
275
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testInProgressMessages.ExecutionId, nameof(TestInProgressMessages),
_handshakeInfo
.Value.ExecutionId));
278
var handshakeInfo =
_handshakeInfo
.Value;
301
if (!
_handshakeInfo
.HasValue)
316
if (fileArtifactExecutionId !=
_handshakeInfo
.Value.ExecutionId)
319
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactExecutionId, nameof(FileArtifactMessages),
_handshakeInfo
.Value.ExecutionId));
322
var handshakeInfo =
_handshakeInfo
.Value;
348
if (!
_handshakeInfo
.HasValue)
358
if (sessionExecutionId !=
_handshakeInfo
.Value.ExecutionId)
361
throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent),
_handshakeInfo
.Value.ExecutionId));
427
if (_receivedTestHostHandshake &&
_handshakeInfo
.HasValue)
431
_output.AssemblyRunCompleted(
_handshakeInfo
.Value.ExecutionId, exitCode, outputData, errorData);