-
Notifications
You must be signed in to change notification settings - Fork 325
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
Mono tests failing due to methods that cannot be found #154
Comments
@lalo and I did some debugging here. The unit tests failure was manifesting when creating deserializers for various types. The particual test case was attempting to deserialize from an The call stack in play here is When initializing Here's the implementation of
Here's the implementation of
Before the recent PR changes, From the documentation for
The fix here is going to involve looking for the method in all the interfaces the type implements, not just the first. |
This is a potential fix for issue microsoft#154, "Mono tests failing due to methods that cannot be found"
This is a potential fix for issue microsoft#154, "Mono tests failing due to methods that cannot be found"
- Do not depend on ordering of interfaces when searching for a method - Throw exception if more than one method is found - Add corresponding tests This change fixes microsoft#154
- Do not depend on ordering of interfaces when searching for a method - Throw exception if more than one method is found - Add corresponding tests This change fixes #154
Recent Travis CI runs for PRs #145 and #153 have failed with an odd error in the serialization unit tests. It appears that we can't find methods of tagged reader/untagged reader that we expect to via reflection under Mono. We don't have this issue with .NET on Windows (the AppVeyor builds are passing).
For example, here's a test failure stack from #153's Linux C# build:
The text was updated successfully, but these errors were encountered: