Author |
Topic |
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Feb 10 2020 : 05:14:39 AM
|
I have mouse middle click set to "Goto" in the VA config. In my C# project i have somehwere an enum which defines a "Any".
When I middle click on a linq expression .Any() I get:
1) middle click taking me to the enum Any 2) VS ctrl+Click taking me to the linq definition of the extension Any() 3) VA telling me that the symbol is unrecognized when selecting "Find references" from the VA context menu. |
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Feb 10 2020 : 05:16:18 AM
|
Interesting though, after been at the LINQ definition of Any() where VS took me, VA also knows about it now. (but continues telling that the symbol is unknown for "Find References") |
Edited by - Uniwares on Feb 10 2020 05:58:02 AM |
|
|
feline
Whole Tomato Software
United Kingdom
19063 Posts |
Posted - Feb 11 2020 : 2:56:34 PM
|
I have VA not running Find References on "Any" here, and Alt-g initially going to an enum item.
Given that "Any" is being used inside a linq expression, what, if anything, do you expect VA to do with Find References here? Or were you using this as a test to see if VA correctly understood "Any" in a linq statement? |
zen is the art of being at one with the two'ness |
|
|
Uniwares
Tomato Guru
Portugal
2322 Posts |
Posted - Feb 11 2020 : 3:58:51 PM
|
if anything, i expect it to have (at least) the same understanding of Any() as intellisense does, which would make it somehow redundant, so actually VA could just not do anything at all. Or do it better than VS. |
|
|
feline
Whole Tomato Software
United Kingdom
19063 Posts |
Posted - Feb 13 2020 : 07:54:32 AM
|
After some more reading up on Any and Linq I have set up a better and more sensible test case, and now have something that Find References should be able to work on, but it is not available. So I have added this to the Linq not being handled case:
case=962 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|