<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="10.0.4" />

System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute

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); } }