public int GetTypeDepth()
 {
     return(DeclaringType.GetTypeDepth() + 1);
 }