OSPlatformConverter static class OSPlatformConverter Converts .NET6+ OSPlatformAttribute to NetPlatformAttribute which can be applied to tests. Documentation Code public static IEnumerable<IApplyToTest> RetrieveAndConvert(this ICustomAttributeProvider provider) Converts one or more .NET 5+ OSPlatformAttributes into a single NUnit NetPlatformAttribute.