title: .NET Framework: Get Type from TypeInfo
body: <p>The new reflection API introduces the <code>TypeInfo</code> class:<br />
  <a href="https://docs.microsoft.com/en-us/dotnet/api/system.reflection.typeinfo" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/api/system.reflection.typeinfo</a></p>
  <p>I can get a <code>TypeInfo</code> instance of a <code>Type</code> (say, a <code>Car</code>) by writing</p>
  <pre><code>TypeInfo typeInfo = typeof(Car).GetTypeInfo();
  </code></pre>
  <p>Now, what if I just have a <code>TypeInfo</code> instance? How do I get the <code>Type</code> it's referring to? Can I just write</p>
  <pre><code>Type type = typeInfo.GetType();
  </code></pre>
  <p>Or will this return a <code>type</code> that is equal to <code>typeof(TypeInfo)</code>?</p>