-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method calls on nullable value types prevent inlining #1251
Comments
The problem are not the expression trees, but inlining of method calls on value types. In this case See this example:
if |
@CreateAndInject Just to explain a bit more, if you're interested: A significant part of the transforms in the decompiler are "statement transforms", which analyze the statements in each block from the last statement to the first. |
Another problem (inlining again):
In this case I think, |
If For the second code snippet, inlining could handle that case, but will only do so if |
Yes, it seems variable splitting does not work as expected on The So the problem seems to be that the compiler is reusing one local variable slot for the expression tree constants and the value-type calls. |
Variable splitting does not work, because |
Web.zip
Web.Areas.Admin.Controllers.CostReceController.Sexport
Web.Areas.Admin.Controllers.CostReceController.ExpReportList
The text was updated successfully, but these errors were encountered: