Closed waldenltd closed 2 years ago
This is expected behaviour. When you exec return target(args)
you basically finish the catch block when async method is not finished.
Please see this discussion here to have working solution https://github.com/pamidur/aspect-injector/discussions/185
Thank you for the update. With your suggestion I was able to create a solution that works for async calls.
Glad I managed to help @waldenltd Thank you you for your interest in this project
Hello,
Using a sample from another issue I created this
and this
When executed the Console.WriteLine was hit successfully. When async was added to DoSomething Console.WriteLine is not hit.