NUnit.Framework.OSPlatformConverter static class OSPlatformConverter Converts .NET6+ OSPlatformAttribute to NetPlatformAttribute which can be applied to tests. Documentation Code namespace NUnit.Framework { internal static class OSPlatformConverter { public static IEnumerable<IApplyToTest> RetrieveAndConvert(this ICustomAttributeProvider provider); } }