I have a probleme with Postsharp.
i have this:
[Serializable]
public class MethodConnectionTracking: OnExceptionAspect
{
public override void OnException(MethodExecutionArgs args)
{
base.OnException(args);
}
}
and i used like this. In assemblyInfo.cs:
[assembly: MethodConnectionTracking]
so, when an exception occurs in the assembly its executes OnException method. But, when i debug the method and i watch args (type: MethodExecutionArgs ) every property has a null value. args.Exception is null. And i need the exception type..
Anyone knows how can i fix this?
Thanks in advance