<PackageReference Include="System.Text.Json" Version="7.0.3" />

RequiresDynamicCodeAttribute

Indicates that the specified method requires the ability to generate new code at runtime, for example through Reflection.
namespace System.Diagnostics.CodeAnalysis { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Method, Inherited = false)] internal sealed class RequiresDynamicCodeAttribute : Attribute { public string Message { get; } public string Url { get; set; } public RequiresDynamicCodeAttribute(string message) { Message = message; } } }