Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interception logic is incorrect #19

Open
tonyhallett opened this issue Apr 2, 2022 · 0 comments
Open

Interception logic is incorrect #19

tonyhallett opened this issue Apr 2, 2022 · 0 comments

Comments

@tonyhallett
Copy link

tonyhallett commented Apr 2, 2022

PostSharp
https://doc.postsharp.net/m_postsharp_aspects_methodinterceptionargs_proceed

Proceeds with invocation of the method that has been intercepted by calling the next node in the chain of invocation.....

Castle.Core
IInvocation.Proceed

Proceeds the call to the next interceptor in line, and ultimately to the target method.

KingAOP

Each MethodInterceptionAspect has OnInvoke invoked regardless of MethodInterceptionArgs.Proceed.

If n MethodInterceptionAspect invoke Proceed then the statically bound method is invoked n times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant