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

Simplify delegate proxy generation using DynamicProxy #798

Merged
merged 2 commits into from
Apr 5, 2019

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Apr 5, 2019

This PR abandons Moq's own delegate proxy type generation logic in favour of the new facilities in DynamicProxy. This gets rid of much special-case logic, e.g. mapping the intercepted method from the delegate proxy container type back to the actual delegate's Invoke method.

@stakx stakx added this to the 4.11.0 milestone Apr 5, 2019
This abandons Moq's own delegate proxy type generation logic in favour
of the new facilities in DynamicProxy. This gets rid of much special-
case logic, e.g. mapping the intercepted method from the delegate
proxy container type back to the actual delegate's Invoke method.
This effectively reverts commit 7639655, see there for details.
@stakx stakx merged commit 3006cea into devlooped:master Apr 5, 2019
@stakx stakx deleted the delegate-proxying branch April 5, 2019 05:04
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

Successfully merging this pull request may close these issues.

None yet

1 participant