Reputation: 93407
Can I get the current method's MethodInfo somehow?
Upvotes: 6
Views: 3405
Reputation: 36340
Try the System.Reflection.MethodBase.GetCurrentMethod
static method.
Upvotes: 1
Reputation: 93407
System.Reflection.MethodBase.GetCurrentMethod()
Found it myself after some screwing around with the reflection namespace...
Upvotes: 17