// ReSharper disable once VirtualMemberCallInConstructor public TheoryNetCore21PlusOnlyAttribute(string skipReason) { if (!RuntimeInformation.IsNetCore || NetCoreAppSettings.GetCurrentVersion() == NetCoreAppSettings.NetCoreApp20) { Skip = skipReason; } }
// ReSharper disable once VirtualMemberCallInConstructor public TheoryNetCore30Attribute(string skipReason) { if (!NetCoreAppSettings.GetCurrentVersion().Is(TargetFrameworkMoniker.NetCoreApp30)) { Skip = skipReason; } }
// ReSharper disable once VirtualMemberCallInConstructor public TheoryNetCore30Attribute(string skipReason) { if (NetCoreAppSettings.GetCurrentVersion() != NetCoreAppSettings.NetCoreApp30) { Skip = skipReason; } }