title: CA1303, DoNotPassLiteralsAsLocalizedParameters, but I'm actually not
body: <p><strong>My code gets the <code>CA1303</code> warning</strong> from <code>Microsoft.Globalization</code>, &quot;Do not pass literals as localized parameters&quot;, <strong>but my code is not actually passing a literal</strong>:</p>
  <pre><code>private void MyForm_Load(object sender, EventArgs e)
  {
      UpdateTitle();
  }
  
  private void UpdateTitle()
  {
      Version version = Assembly.GetExecutingAssembly().GetName().Version;
      CultureInfo culture = CultureInfo.CurrentUICulture;
      this.Text = String.Format(culture, &quot;{0} v{1}.{2} Alpha r{3}&quot;, this.Text, version.Major, version.Minor, version.Build);
  }
  </code></pre>
  <p>This code sets the title of the form to something like this, every time it is loaded:</p>
  <blockquote>
  <p><strong>MyFormNameAsSetInTheDesigner</strong> v0.1 Alpha r123</p>
  </blockquote>
  <p>(<code>version.build</code> actually contains the SVN revision, which is auto-updated at each commit, I do not use <code>revision</code> because my versioning scheme uses only 3 numbers, <code>major.minor.revision</code>)</p>
  <p><em>But this triggers the aforementioned warning</em>, because it thinks I'm setting the titlebar text from a string literal. In fact, I've set <code>Localizable = True</code> in the designer, so that the string <em>is fetched from a resource table</em>.</p>
  <p>I do not want to set the form's title statically because (especially in the alpha and beta stages) I want it to have dynamic version numbers.</p>
  <h3>The question is what do I do so I don't get a warning (for example, which code will do what I'm doing but be considered correct per FxCop, or how can I supress it for that line).</h3>