You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
[NativeAOT] Trivial use of Delegate.Method is not enabling delegate targets for reflection #101026
Unhandled exception. System.NotSupportedException: Cannot retrieve a MethodInfo for this delegate because the method it targeted (Program.Test[T]()) was not enabled for metadata.
at Internal.Reflection.Extensions.NonPortable.DelegateMethodInfoRetriever.GetDelegateMethodInfo(Delegate) + 0x276
at Program.Main() + 0x26
Activity
dotnet-policy-service commentedon Apr 14, 2024
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.