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)
33namedPipeBase.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)
291case TestSessionEvent sessionEvent: 385private void OnSessionEvent(TestSessionEvent sessionEvent)
Commands\Test\MTP\TestApplicationHandler.cs (11)
337internal void OnSessionEventReceived(TestSessionEvent sessionEvent) 345throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageInHelpMode, nameof(TestSessionEvent))); 350throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutHandshake, nameof(TestSessionEvent))); 355nameof(TestSessionEvent.ExecutionId), 356nameof(TestSessionEvent)); 361throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 368nameof(TestSessionEvent.SessionType), 369nameof(TestSessionEvent))); 374nameof(TestSessionEvent.SessionUid), 375nameof(TestSessionEvent)); 592private static void LogSessionEvent(TestSessionEvent testSessionEvent)