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

RequiresDynamicCodeAttribute

Indicates that the specified method requires the ability to generate new code at runtime, for example through Reflection.
public string Message { get; }

Gets a message that contains information about the usage of dynamic code.

public string Url { get; set; }

Gets or sets an optional URL that contains more information about the method, why it requires dynamic code, and what options a consumer has to deal with it.

public RequiresDynamicCodeAttribute(string message)

Initializes a new instance of the RequiresDynamicCodeAttribute class with the specified message.