title: Get all classes that implement a certain abstract class
body: <p>I'm trying to get all classes that implement a certain abstract class. I'm trying to do that with the following code:</p>
  
  <pre><code>var type = typeof(BaseViewComponent);
  var types = Assembly
      .GetEntryAssembly()
      .GetReferencedAssemblies()
      .Select(Assembly.Load)
      .SelectMany(s =&gt; s.GetTypes())
      .Where(p =&gt; type.IsAssignableFrom(p));
  </code></pre>
  
  <p>But thus far I'm only able to get the abstract class it self. Not any class that implements that base class.</p>
  
  <p>What do I have to change to get all the classes that implement this abstract base class?</p>