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

InvalidPlatformException

InvalidPlatformException is thrown when the platform name supplied to a test is not recognized.
using System; using System.Runtime.Serialization; namespace NUnit.Framework.Internal { [Serializable] internal class InvalidPlatformException : ArgumentException { public InvalidPlatformException() { } public InvalidPlatformException(string message) : base(message) { } public InvalidPlatformException(string message, Exception inner) : base(message, inner) { } protected InvalidPlatformException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }