Seems that the ‘where used’ includes references that are inside comments…I searched for a method call, as where used showed it was referenced in that method, but it was only in a commented out call…and when I deleted the commented code, that reference in where used went away.
Probably would be good to ignore commented lines in terms of reporting where used.
Yes, that is a limitation of search at this point - it simply searches all files as pure text.
We are discussing having a metadata-only search capability which would match only if the search string was in name, properties, method name, method body etc. But if you have code in a method body commented out, this feature would still pick that up.