protected virtual void VisitType(BoundType node)
{
switch (node.Kind)
{
case BoundNodeKind.StructType:
VisitStructType((BoundStructType) node);
break;
case BoundNodeKind.ClassType:
VisitClassType((BoundClassType) node);
break;
case BoundNodeKind.InterfaceType:
VisitInterfaceType((BoundInterfaceType) node);
break;
default:
throw new InvalidOperationException(node.Kind.ToString());
}
}