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

RequiresUnreferencedCodeAttribute

Indicates that the specified method requires dynamic access to code that is not referenced statically, for example through Reflection.
public string Message { get; }

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

public string Url { get; set; }

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

public RequiresUnreferencedCodeAttribute(string message)

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