Exemplo n.º 1
0
 protected virtual void RenameType(Definitions.TypeDefinition type)
 {
     if (type.CSharpName == null)
     {
         if (Processor.UnitsMap.TryGetValue(type.Name, out var def))
         {
             if (def.CSharpName == null)
             {
                 RenameDefinition(def);
             }
             type.CSharpName = def.CSharpName + new string('*', type.Modifies.Count);
         }
         else
         {
             type.CSharpName = type.Name + new string('*', type.Modifies.Count);
         }
     }
 }
Exemplo n.º 2
0
 protected virtual void VisitType(Definitions.TypeDefinition type)
 {
 }