예제 #1
0
 private void Visit(TypeReference type)
 {
   if (_typeReferences.Contains(type))
   {
     return;
   }
   _typeReferences.Push(type);
   _modelCreator.UseType(type.ToTypeKey());
   GenericInstanceType genericInstanceType = type as GenericInstanceType;
   if (genericInstanceType != null)
   {
     Visit(genericInstanceType.GenericArguments);
   }
   _typeReferences.Pop();
 }