How do I determine if a method is extern
, using reflection?
Sample method:
var mEnter = typeof(System.Threading.Monitor).GetMethod("Exit", BindingFlags.Static | BindingFlags.Public);
How do I determine if a method is extern
, using reflection?
Sample method:
var mEnter = typeof(System.Threading.Monitor).GetMethod("Exit", BindingFlags.Static | BindingFlags.Public);
I don't know is any direct way to figure out but I can show a trick that I used Suppose we have a class contains extern method
we can get check extern method by writting this code