Open GoogleCodeExporter opened 8 years ago
Whoops, patch contained next fix I was going to submit as well
(requirereceiver). Attached is solely delegates change.
Original comment by Rupert....@gmail.com
on 7 Dec 2013 at 1:30
Attachments:
Improved patch attached. Common-case optimization: checks whether delegate is
System.Action and uses direct invocation (as opposed to all the redundant
argument unwrapping apparently involved in DynamicInvoke()). (I'm not a
delegates guru!) If one were happy with the restriction, one could probably
elide the old if branch (if (callback is Delegate, etc).
HTH, Rupert.
Original comment by Rupert....@gmail.com
on 7 Dec 2013 at 9:34
Attachments:
Original issue reported on code.google.com by
Rupert....@gmail.com
on 7 Dec 2013 at 1:23Attachments: