<PackageReference Include="Serilog" Version="4.3.1-dev-02415" />

System.Runtime.Versioning.SupportedOSPlatformAttribute

Records the operating system (and minimum version) that supports an API. Multiple attributes can be applied to indicate support on multiple operating systems.
namespace System.Runtime.Versioning { internal sealed class SupportedOSPlatformAttribute : Attribute { public SupportedOSPlatformAttribute(string platformName); } }