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

Remove Mock.DelegateInterfaceMethod #705

Merged
merged 3 commits into from
Oct 11, 2018
Merged

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Oct 11, 2018

This refactoring allows us to remove a field from Mock<T> that is only used by delegate mocks—which are the minority.

Removal is possible because the value stored in this field can always be queried again from the global ProxyFactory instance. Doing so means that there will be a small additional cost per delegate mock setup.

@stakx stakx merged commit 2c241fb into devlooped:master Oct 11, 2018
@stakx stakx deleted the delegate-mocks branch October 11, 2018 23:11
@stakx stakx added this to the 4.10.1 milestone Oct 15, 2018
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