How to find all explicit type conversions?

Hi,

That might be a dumb question but I'm struggling to figure out how to ask resharper to find all explicit type conversions and if its possible:

I.e. I want to find all occurances:

var command = idbCommand as SqlCommand;
or
var command = (SqlCommand)idbCommand;

Currently I'm getting away with search but I think resharper might already have this functionality..

1 comment
Comment actions Permalink

Hello Sergei
     Have you tried using Structural Search and Replace feature (http://www.jetbrains.com/resharper/features/navigation_search.html#Structural_Search_and_Replace)? Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.