1 instantiation of TestSessionEvent
dotnet (1)
Commands\Test\MTP\IPC\Serializers\TestSessionEventSerializer.cs (1)
63return new TestSessionEvent(type, sessionUid, executionId);
17 references to TestSessionEvent
dotnet (17)
Commands\Test\MTP\IPC\Serializers\RegisterSerializers.cs (1)
37namedPipeBase.RegisterSerializer(new TestSessionEventSerializer(), typeof(TestSessionEvent));
Commands\Test\MTP\IPC\Serializers\TestSessionEventSerializer.cs (3)
70var testSessionEvent = (TestSessionEvent)objectToSerialize; 79private static ushort GetFieldCount(TestSessionEvent testSessionEvent) =>
Commands\Test\MTP\TestApplication.cs (2)
768case TestSessionEvent sessionEvent: 939private void OnSessionEvent(TestSessionEvent sessionEvent)
Commands\Test\MTP\TestApplicationHandler.cs (11)
468internal void OnSessionEventReceived(TestSessionEvent sessionEvent) 476throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageInHelpMode, nameof(TestSessionEvent))); 481throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutHandshake, nameof(TestSessionEvent))); 486nameof(TestSessionEvent.ExecutionId), 487nameof(TestSessionEvent)); 492throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 499nameof(TestSessionEvent.SessionType), 500nameof(TestSessionEvent))); 505nameof(TestSessionEvent.SessionUid), 506nameof(TestSessionEvent)); 794private static void LogSessionEvent(TestSessionEvent testSessionEvent)