I'm using Visual Studio 2010, .NET 3.5 and PostSharp 3.1.33. When I execute this code
[MyInterceptorAspect]
public void Send(string msg)
{
Console.WriteLine(MethodBase.GetCurrentMethod().Name);
}
it prints <Send>z__OriginalMethod
, but I want it to print just Send
. Is it possible at all? (NB: MyInterceptorAspect extends MethodInterceptionAspect and it works flawlessly, concrete implementation is just not important for this problem)