title: Getting the fully qualified name of a type from a TypeInfo object
body: <p>Is it somehow possible to get the fully qualified name of the type contained in a <code>TypeInfo</code> object?</p>
  
  <p>In the debugger many of these values nicely show up as <code>System.Int32</code> but when it's printed out, not one of them contains this fully qualified name. I need this to provide as an argument to <code>Type.GetType()</code>. </p>
  
  <pre><code>var typeInfo = semanticModel.GetTypeInfo(argument);
  var w = typeInfo.ToString(); // Microsoft.CodeAnalysis.TypeInfo
  var y = typeInfo.Type.ToString(); // int
  var z = typeInfo.Type.ToDisplayString(); // int 
  var a = typeInfo.Type.OriginalDefinition.ToDisplayString(); // int
  var b = typeInfo.Type.OriginalDefinition.ToString(); // int
  var c = typeInfo.Type.Name; // Int32
  var d = typeInfo.Type.MetadataName; // Int32
  var e = typeInfo.Type.ToDisplayParts(); // {int}
  var f = typeInfo.Type.ContainingNamespace; // System
  </code></pre>
  
  <p>Note that this should work for every type so I can't just concatenate the namespace with the name.</p>
  
  <p>Alternatively: is there another (more suited?) way to get the exact type?</p>
  
  <p>For context: I want to check if the type-parameters of a class contain a few specific methods. Therefore my approach was to get the parameters from the <code>TypeArgumentListSyntax</code> and get the <code>TypeInfo</code> from each <code>TypeSyntax</code> object. </p>