<PackageReference Include="Microsoft.Extensions.Logging.EventLog" Version="11.0.0-preview.5.26302.115" />

System.Runtime.Versioning.OSPlatformAttribute

abstract class OSPlatformAttribute : Attribute
Base type for all platform-specific API attributes.
namespace System.Runtime.Versioning { internal abstract class OSPlatformAttribute : Attribute { public string PlatformName { get; } } }