<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0" />

System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute

Annotates the custom guard field, property or method with an unsupported platform name and optional version. Multiple attributes can be applied to indicate guard for multiple unsupported platforms.
namespace System.Security.Cryptography.Asn1 { }