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.
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.