title: NatVis: typedefs allowed?
body: <p>I have a type defined as:</p>
  
  <pre><code>typedef unsigned short StringChecksum;
  </code></pre>
  
  <p>which I eventually intend to use a NatVis to display the corresponding value in a global string table we have loaded in memory.</p>
  
  <p>So I've defined a new NatVis for testing(which is my first time):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"&gt;
    &lt;Type Name="StringChecksum"&gt;
      &lt;DisplayString&gt;StringChecksum {this}&lt;/DisplayString&gt;
    &lt;/Type&gt;
  &lt;/AutoVisualizer&gt;
  </code></pre>
  
  <p>I've turned on NatVis debugging in the registry and I can see my .natvis file being loaded by the debugger and parsed successfully. </p>
  
  <p>I also have Edit and Continue turned off. </p>
  
  <p>However when I debug code and examine a StringChecksum, I don't see any difference, it shows the integer. I expected it to show something like "StringChecksum 3433".</p>
  
  <p>Is it possible for NatVis to work with types defined from a plain typedef? All of the examples I've seen are using classes. And if so any idea what might be wrong?</p>