Assembly.EntryPoint API is not directly tracked by linker which means that the API returns expected value only if the method the API points to is marked by different codepath. We should change the behaviour to be predictable or annotate the API as linker unfriendly.