Batch-convert C# code to use String.Format
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8674705/resharper-string-format-shortcut">Resharper string.format shortcut</a>  </p>
</blockquote>



<p>In our large code base, unfortunately there are a lot of statements like this:</p>

<pre><code>MessageBox.Show("Hello, " + userName + "!");
</code></pre>

<p>Obviously, this would be better to facilitate String externalisation:</p>

<pre><code>MessageBox.Show(String.Format("Hello, {0}!", userName));
</code></pre>

<p>Is there any tool that can automate this job (convert string concatenations to String.Format)?</p>

<p>If not, I figure it would be necessary to find a parser that constructs a syntax tree for a given C# source file, find expressions that do string concatenations in this tree (does not seem easy) and convert the found occurences?</p>

<p><strong>EDIT</strong>: DevExpress CodeRush does exactly what I want - pretty cool. But unfortunately it only works on the current source file and I have to click every occurence (or so it seems). I would like to do the operation on all of my source files (like with 'Replace all').</p>
