Is it possible to link a method marked with MethodImplOptions.InternalCall to its implementation?
Posted
by adrianbanks
on Stack Overflow
See other posts from Stack Overflow
or by adrianbanks
Published on 2010-05-05T18:04:03Z
Indexed on
2010/05/05
18:08 UTC
Read the original article
Hit count: 118
In trying to find the possible cause of an exception, I'm following a code path using Reflector. I've got deeper and deeper, but ended up at a method call that looks like:
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void SomeMethod(int someParameter);
This markup on the method tells the framework to call a C++ function somewhere. Is there any way to find out what method actually gets called, and in turn what else is likely to be called?
NB: I don't really want to see the source code of this method, I just want to know the possible things that could throw the exception I am seeing that originates out of this method call.
© Stack Overflow or respective owner