For example i have my own implementation of multicast "delegates'" and i would love to be able to write
obj.MyEvent += subscriber.handler;
and to generate actually:
obj.MyEvent.add(new Delegate(subscriber, subscriber.handler));
Please don't comment the saneness of the events approach, just the principle of the question.
i would like a moment where the "type information" for the nodes in AST is available...
Is there a recommended way to do this?