How to find all explicit type conversions?


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;
var command = (SqlCommand)idbCommand;

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

1 comment
Andrey Serebryansky
Comment actions Permalink

Hello Sergei
     Have you tried using Structural Search and Replace feature ( Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

"Develop with pleasure!"


Please sign in to leave a comment.