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); } } }
protected virtual void VisitType(Definitions.TypeDefinition type) { }