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
Analyzer does not consistently process methods that return value types by reference #9
Comments
There was a bug with matching the signature of ref return methods. This is fixed now, the 2 Select calls in Main are now also highlighted correctly. The reason why it didn't work for x86 was that the Jit Compiler seems to emit the ETW event for the Select2->Select call twice, whereas it is only emitted once for x64. No idea why that is the case, but the doubled method call led to the overload resolution logic to kick in, which didn't work because of the missing ref return support. In the x64 case there is only one call, so the signature isn't needed to match the method call. |
Thanks for the prompt fix! |
FYI, I just published a new version (0.7.3) that contains this fix. |
Thanks! The fix works, but I unfortunately found a similar issue, which I've described in #10. |
The analyzer seems to have some issues with methods that return value types by reference.
Consider this code below:
If you run the analyzer, none of the calls to
Select
are highlighted:Oddly enough, if you comment out the call to
Select2
, its call toSelect
in it is highlighted:Even more strange, turning off "Prefer 32-bit" or explicitly choosing x64 will also fix
Select2
's call toSelect
.The text was updated successfully, but these errors were encountered: