title: How does 'typeof' work?
body: <p>I am curious what the "method body" for typeof in C# would look like (pretty sure I can't get to it in reflector as it's a keyword not a method).</p>
  
  <p>I am guessing it is equivalent to GetType(<em>magic convert symbol to string</em>).</p>
  
  <p>Looking at GetType(string) in Reflector it calls a method "PrivateGetType", which calls "RuntimeTypeHandle.GetTypeByName", and RuntimeTypeHandle seems to have a lot of the logic behind types in it, but the GetTypeByName stuff doesn't show up in Reflector.</p>