c# - Is there a way to get a list of all the places where a variable is touched in a project? -


i trying figure out variable being assigned for-it nosensical value. know can select "find usages" context menu, , list of places referenced within own unit, such as:

string name; . . . name = "bla"; 

...but in cases referenced outside class, such as:

workfiles wrkfile = new workfiles(); wrkfile.name = bla; 

...find usages not out. there way see places variable touched within project?

update

the place var being assigned in class of member this:

name = aname.remove(0, 3); 

...all other places "find usages" found "name" parameters sql statements; @ 1 point has value such full value entered in unrelated text box. has being assigned elsewhere. or name "name" causing untoward occur...

selecting "go reference" context menu takes me line of code shown above.

update 2

this looks promising:

http://visualstudiogallery.msdn.microsoft.com/fb5badda-4ea3-4314-a723-a1975cbdabb4


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -