<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.4" />

System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute

Indicates that the specified method requires the ability to generate new code at runtime, for example through Reflection.
namespace System.Diagnostics.CodeAnalysis { internal sealed class RequiresDynamicCodeAttribute : Attribute { public bool ExcludeStatics { get; set; } public string Message { get; } public string Url { get; set; } public RequiresDynamicCodeAttribute(string message); } }