title: Use new keyword if hiding was intended
body: <p>I have the following snippet of code that's generating the "Use new keyword if hiding was intended" warning in VS2008:</p>
  
  <pre><code>public double Foo(double param)
  {
     return base.Foo(param);
  }
  </code></pre>
  
  <p>The <code>Foo()</code> function in the base class is protected and I want to expose it to a unit test by putting it in wrapper class solely for the purpose of unit testing. I.e. the wrapper class will not be used for anything else. So one question I have is: <strong>is this accepted practice?</strong></p>
  
  <p>Back to the <code>new</code> warning. <strong>Why would I have to new the overriding function in this scenario?</strong></p>