title: How can I determine whether a property is a Generic Type in DNX Core 5.0?
body: <p>Previously I could use this to get the generic types on a class;</p>
  
  <pre><code>typeof(MyClass).GetTypeInfo().DeclaredProperties.Any(p =&gt; p.PropertyType.IsGenericType)
  </code></pre>
  
  <p>However, in DNX Core 5.0, <code>IsGenericType</code> is not supported.  What can I use now?</p>