-
Notifications
You must be signed in to change notification settings - Fork 4
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
EntryPointNotFoundException when replacing an instance method call #267
Comments
This is one of the most complex concepts in the lib. In short, the thing is that The second thing is that the exception does not explain anything. I do want to improve it so that the user has a better understanding of what happens (will be done here #153). |
I see. Thanks a lot. |
I actually implemented a big change for that but that was not ideal so that I wanted to work on that a bit more. But then I ran into a situation when I had no free time... Now I am moving back and see that .NET team is bringing a new feature that will make AutoFake prod-like quality. The feature is Interceptors. My current idea is to freeze the current implementation and focus on this new feature to release AutoFake 1.* based on that. The current issue will be fixed by that automatically. |
That sounds like a great idea. Thank you. |
Let's say I have test code like below:
I use
Replace
to replace an instance method call, but I get the exception belowIf I either remove the line
order.Items.Add(new LineItem())
orsut.Replace(...)
, the test can run successfully.Did I make anything wrong?
The text was updated successfully, but these errors were encountered: