Is there a way to find all fields of a certain type? Follow
I'd like to find all fields exposing a certain type, but I don't find the option in "find usages advanced". I need this for refactoring, to find all data that might be serialized.
Please sign in to leave a comment.
Have a look at Resharper -> Find -> Search with pattern.
Something like
$type$ $var$
Where you put appropriate restrictions on the $type$ identifier should work.
Also consider auto properties
$type$ $var$ {get;set;}
I just found "Search with pattern" - it's very powerful!