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)
318case TestSessionEvent sessionEvent: 453private void OnSessionEvent(TestSessionEvent sessionEvent)
Commands\Test\MTP\TestApplicationHandler.cs (11)
378internal void OnSessionEventReceived(TestSessionEvent sessionEvent) 386throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageInHelpMode, nameof(TestSessionEvent))); 391throw new InvalidOperationException(string.Format(CliCommandStrings.UnexpectedMessageWithoutHandshake, nameof(TestSessionEvent))); 396nameof(TestSessionEvent.ExecutionId), 397nameof(TestSessionEvent)); 402throw new InvalidOperationException(string.Format(CliCommandStrings.DotnetTestMismatchingExecutionId, sessionExecutionId, nameof(TestSessionEvent), _handshakeInfo.Value.ExecutionId)); 409nameof(TestSessionEvent.SessionType), 410nameof(TestSessionEvent))); 415nameof(TestSessionEvent.SessionUid), 416nameof(TestSessionEvent)); 641private static void LogSessionEvent(TestSessionEvent testSessionEvent)