This is a minimal project for reproducing issue #22. It runs normally in non-AOT mode, but fails to translate when using AOT compilation.
Using dotnet publish -c Release -p:TrimUnusedDependencies=true
Same result by setting trimmode to link, partial and copyused
