Resharper Code Pattern for IDisposal not inside using

I'd like to know how to build a Resharper (6.1) code pattern to search and replace the following issue:

var cmd = new SqlCommand();
cmd.ExecuteNonQuery();



and turn it into this:

using (var cmd = new SqlCommand())
{
  cmd.ExecuteNotQuery();
}



I've posted this on StackOverflow as well

Please sign in to leave a comment.