<PackageReference Include="System.Runtime.Serialization.Formatters" Version="11.0.0-rc.3.26522.148" />

System.LocalAppContextSwitches

namespace System { internal static class LocalAppContextSwitches { public static bool BinaryFormatterEnabled { get; } } }