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

ProxyGenerationException using 3+ observer #167

Closed
herecydev opened this issue Apr 24, 2015 · 1 comment
Closed

ProxyGenerationException using 3+ observer #167

herecydev opened this issue Apr 24, 2015 · 1 comment

Comments

@herecydev
Copy link

I've made a gist to demonstrate the ProxyGenerationException I get when trying to mock an interface with multiple observers.

The issue seems to only occur when running at least 3 observers (2 is fine strangely).

image

The issue lies in this block of code @kkozmic

Raised on CastleProject repo

Currently using Moq 4.2.1502.0911

@stakx
Copy link
Contributor

stakx commented Jul 5, 2017

This is currently being dealt with over at Castle.Core (see castleproject/Core#285), and there is nothing further to do in Moq except to upgrade Castle.Core once a future version is published. I'll track this in #402.

@stakx stakx closed this as completed Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants