1 write to _handshakeInfo
dotnet (1)
Commands\Test\MTP\TestApplicationHandler.cs (1)
54_handshakeInfo = currentHandshakeInfo;
21 references to _handshakeInfo
dotnet (21)
Commands\Test\MTP\TestApplicationHandler.cs (21)
52if (!_handshakeInfo.HasValue) 56else if (_handshakeInfo.Value != currentHandshakeInfo) 58throw new InvalidOperationException(string.Format(CliCommandStrings.MismatchingHandshakeInfo, currentHandshakeInfo, _handshakeInfo.Value)); 69var handshakeInfo = _handshakeInfo.Value; 98if (!_handshakeInfo.HasValue) 103if (discoveredTestMessages.ExecutionId != _handshakeInfo.Value.ExecutionId) 106throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, discoveredTestMessages.ExecutionId, nameof(DiscoveredTestMessages), _handshakeInfo.Value.ExecutionId)); 111_output.TestDiscovered(_handshakeInfo.Value.ExecutionId, 126if (!_handshakeInfo.HasValue) 131if (testResultMessage.ExecutionId != _handshakeInfo.Value.ExecutionId) 134throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, testResultMessage.ExecutionId, nameof(TestResultMessages), _handshakeInfo.Value.ExecutionId)); 137var handshakeInfo = _handshakeInfo.Value; 179if (!_handshakeInfo.HasValue) 184if (fileArtifactMessages.ExecutionId != _handshakeInfo.Value.ExecutionId) 187throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, fileArtifactMessages.ExecutionId, nameof(FileArtifactMessages), _handshakeInfo.Value.ExecutionId)); 190var handshakeInfo = _handshakeInfo.Value; 209if (!_handshakeInfo.HasValue) 214if (sessionEvent.ExecutionId != _handshakeInfo.Value.ExecutionId) 217throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionEvent.ExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 266if (_handshakeInfo.HasValue) 268_output.AssemblyRunCompleted(_handshakeInfo.Value.ExecutionId, exitCode, outputData, errorData);