IL3057: RequiresDynamicCodeAttribute
cannot be placed directly on application entry point
Cause
RequiresDynamicCodeAttribute on entry points is not allowed since the method will be called from code that is not subject to static analysis. Entry points include the Main
method or methods annotated with UnmanagedCallersOnlyAttribute with EntryPoint
property specified.
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.