I always thank you for your hard work.
My problem occur when renaming the help class.
I renamed the method like this
public static System __METHOD__CreateSystem<T>(this Pool pool) where T :
System, new()
{
return pool.__METHOD__CreateSystem(typeof(T));
}
but call part rename didn't work.
it should be renamed "CreateSystem" to "__METHOD__CreateSystem".
return new Feature("Systems").Add(pool.CreateSystem
<CreatePlayerSystem>()).Add(pool.CreateSystem<CreateOpponentsSystem>()).Add(pool.CreateSystem<CreateFinishLineSystem>()).Add(pool.
CreateSystem
<InputSystem>()).Add(pool.CreateSystem<AccelerateSystem>()).Add(pool.CreateSystem<MoveSystem>()).Add(pool.
CreateSystem
<ReachedFinishSystem>()).Add(pool.CreateSystem<RemoveViewSystem>()).Add(pool.CreateSystem<AddViewSystem>()).Add(pool.
CreateSystem
<RenderPositionSystem>()).Add(pool.CreateSystem<DestroySystem>());
my rename code is here.
foreach (MethodDefinition method in inner_class.Methods)
{
method.Name = "__METHOD__"+method.name;
}
Can you help me again? :(
--
--
--
mono-cecil
---
You received this message because you are subscribed to the Google Groups
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.