title: CA1062: ValidateArgumentsOfPublicMethods on co-constructor calls
body: <p>I have a class with two constructors that look like this:</p>
  
  <pre><code>public MyClass(SomeOtherClass source) : this(source, source.Name) { }
  public MyClass(SomeOtherClass source, string name) { /* ... */ }
  </code></pre>
  
  <p>When I run FxCop, it correctly reports a violation of <a href="http://msdn.microsoft.com/en-us/library/ms182182.aspx" rel="noreferrer">CA1062: ValidateArgumentsOfPublicMethods</a>, because if <code>source</code> is <code>null</code> in the first constructor, it will throw a <code>NullReferenceException</code> on <code>source.Name</code>.</p>
  
  <p>Is there any way to fix this warning?</p>
  
  <p>I could make an extension method that checks for null and returns its argument, but it would be ugly.  Also, as I understand, it wouldn't resolve the warning because FxCop wouldn't realize what it does.</p>