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

InvalidPlatformException

InvalidPlatformException is thrown when the platform name supplied to a test is not recognized.
using System; using System.Runtime.CompilerServices; namespace NUnit.Framework.Internal { [Serializable] [NullableContext(1)] [Nullable(0)] internal class InvalidPlatformException : ArgumentException { public InvalidPlatformException() { } public InvalidPlatformException(string message) : base(message) { } public InvalidPlatformException(string message, Exception inner) : base(message, inner) { } } }