title: C# interface inheritance
body: <p>Given:</p>
  
  <pre><code>public interface IA
  {
      void TestMethod();
  }
  
  public interface IB : IA
  {
  }
  </code></pre>
  
  <p>Why:</p>
  
  <pre><code>typeof(IB).GetMethods().Count() == 0;
  </code></pre>
  
  <p>?</p>
  
  <p>Just to be clear:</p>
  
  <pre><code>public class A
  {
      public void TestMethod()
      {
      }
  }
  
  public class B : A
  {
  }
  
  typeof(B).GetMethods().Count();
  </code></pre>
  
  <p>does work (it returns 5);</p>
  
  <p>As a bonus:</p>
  
  <pre><code>typeof(IB).BaseType == null
  </code></pre>