title: Redirect constructor with no arguments to a base class ctor with argument
body: <p>I'm trying to make a class <em>Bar</em> that extends a class <em>Foo</em>.  The code of <em>Foo</em> is beyond my control.</p>
  
  <p>When someone makes a new instance of <em>Bar</em> (by writing something like <em>Bar x = new Bar();</em>) I want this to trigger a call to the <em>Foo</em> constructor that takes an input argument.</p>
  
  <p>Basically:</p>
  
  <pre><code>class Foo {
      public Foo(string message) { print("The new Foo says: " + message); }
  }
  
  class Bar : Foo {
      public Bar() : base(this.GetType()) { }
  }
  </code></pre>
  
  <p>So when someone uses <em>new Bar()</em>, it should print out <em>The new Foo says: Bar</em>.  (Assuming there's a <em>print</em> function, which isn't the point here.)</p>
  
  <p>Instead, C# complains because I'm trying to compute a result in the arguments to the base constructor.</p>
  
  <p>Remember, <em>Foo</em> is beyond my reach, so I can't change any code in <em>Foo</em>.</p>