views:

58

answers:

1

This is probably a wish, more than a question: In some part of the code I have used a function like this:

var myProperty = typeof(T).GetProperty(titulo);

I'd like to seach in Visual Studio any usage of the type 'PropertyInfo' (that is the internal type that takes var in this example).

A: 

It sounds like you are asking for a feature where Visual Studio will show you all occurrences of var which are inferred to be a specific type. Unfortunately, this feature does not exist in Visual Studio.

Can you explain what you would do with this feature? Perhaps there's a different way to get to a solution.

JaredPar