<PackageReference Include="NUnit" Version="5.0.0-beta.1" />

NUnit.Framework.Internal.Reflect

public static class Reflect
Helper methods for inspecting a type by reflection. Many of these methods take ICustomAttributeProvider as an argument to avoid duplication, even though certain attributes can only appear on specific types of members, like MethodInfo or Type. In the case where a type is being examined for the presence of an attribute, interface or named member, the Reflect methods operate with the full name of the member being sought. This removes the necessity of the caller having a reference to the assembly that defines the item being sought and allows the NUnit core to inspect assemblies that reference an older version of the NUnit framework.
namespace NUnit.Framework { public static class PlatformNames { public const string Win = "Win"; public const string Win32 = "Win32"; public const string Win32s = "Win32s"; public const string Win32Windows = "Win32Windows"; public const string Win32NT = "Win32NT"; public const string Win95 = "Win95"; public const string Win98 = "Win98"; public const string WinME = "WinME"; public const string NT3 = "NT3"; public const string NT4 = "NT4"; public const string NT5 = "NT5"; public const string Win2K = "Win2K"; public const string WinXP = "WinXP"; public const string Win2003Server = "Win2003Server"; public const string NT6 = "NT6"; public const string Vista = "Vista"; public const string Win2008Server = "Win2008Server"; public const string Win2008ServerR2 = "Win2008ServerR2"; public const string Win2012Server = "Win2012Server"; public const string Win2012ServerR2 = "Win2012ServerR2"; public const string Win7 = "Win7"; public const string Windows7 = "Windows7"; public const string Win8 = "Win8"; public const string Windows8 = "Windows8"; public const string Win81 = "Win8.1"; public const string Windows81 = "Windows8.1"; public const string Win10 = "Win10"; public const string Windows10 = "Windows10"; public const string Win11 = "Win11"; public const string Windows11 = "Windows11"; public const string WindowsServer10 = "WindowsServer10"; public const string UNIX = "UNIX"; public const string Linux = "Linux"; public const string XBox = "XBox"; public const string MacOSX = "MacOSX"; public const string X64Bit = "64-bit"; public const string X64BitProcess = "64-bit-process"; public const string X32Bit = "32-bit"; public const string X32BitProcess = "32-bit-process"; public const string X64BitOS = "64-bit-os"; public const string X32BitOS = "32-bit-os"; public const string NET = "NET"; public const string NETCore = "NETCore"; public const string NETFramework = "NETFramework"; public const string SSCLI = "SSCLI"; public const string Rotor = "Rotor"; public const string Mono = "Mono"; public const string MonoTouch = "MonoTouch"; public const string DotNET = "NET"; public const string DotNETCore = "NET"; public const string DotNETFramework = "NETFramework"; } }