From: "Jonathan Ross" <[EMAIL PROTECTED]>

By any chance, do you know for sure if the call I'm making from Method B
to
Method A is a direct call instruction or if it's a dynamic method
delegate?
I'm betting it's a straight up instruction call, which has me frothing
with
anticipation.

Well, you're using the Call opcode, which should be a direct call.  Going
through a delegate would be more complicated -- remember that a creating a
delegate causes a class instance to be created.  Your call to the methodB
delegate, for instance, generates the following IL:

callvirt instance int32 kernal.Program/method::Invoke()

--
Curt Hagenlocher
[EMAIL PROTECTED]

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to