-
-
Notifications
You must be signed in to change notification settings - Fork 794
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
A COM type can't make its mock by same procedure as usual. #215
Comments
This looks like a Castle DynamicProxy issue. Mock doesn't have its own On Sun, Nov 15, 2015, 4:04 AM Akira Sugiura notifications@github.com
|
Hmm, I have never used Castle DynamicProxy... Could anyone report that which DynamicProxy API has issue to Castle Project? I believe that there is someone who knows it in Moq team 😙 |
Well, it seems that everyone in Moq team member is busy 😞 I investigated this issue and found out which DynamicProxy API has an issue. I will report the issue to Castle Project after this. |
"Everyone on the Moq team" is basically me, and I'm awfully busy with Thanks On Mon, Nov 16, 2015, 8:33 AM Akira Sugiura notifications@github.com
|
This cause was my project setup mistake. I'm very sorry for taking up your time... |
It seems that any COM types can't make its mock by same procedure as usual. In Moq 4.2.1510.2205, it will throw
MissingMethodException
even if the default implementation is automatically generated against a managed type. For example, the product code is the below:NOTE:
Project
is a COM type in Microsoft Development Environment.The test code is the below:
When running the test, I got the following results:
Is this a bug? Or, does Moq manage a COM type by special way?(It is the limitation by the design?)
The text was updated successfully, but these errors were encountered: