<PackageReference Include="NUnit" Version="4.3.1" />

TestCaseTimeoutException

TestCaseTimeoutException is thrown when a test running directly on a TestWorker thread is cancelled due to timeout.
using System; using System.Runtime.CompilerServices; namespace NUnit.Framework.Internal { [Serializable] [NullableContext(1)] [Nullable(0)] public class TestCaseTimeoutException : Exception { public TestCaseTimeoutException() { } public TestCaseTimeoutException(string message) : base(message) { } public TestCaseTimeoutException(string message, Exception inner) : base(message, inner) { } } }