-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Can not deserialize DateTimeOffset in .netcoreapp2.0 #293
Comments
Humm, this looks like a bug. The code should probably be this instead: && parameters.Zip(parameterTypes, (pi.ParameterType, pt) => pi.Equals(pt)).All(r => r); We need to add a failing test then fix this. If you want, you can send-me a pull request with that. Otherwise, I can do it myself, but I don't know when I will have time for this. |
Thanks. This fix is included in release 4.2.3, which should be visible soon on NuGet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple example:
Rises exception:
It think that this exception occurs because of getting
public static T Parse(string, IFormatProvider)
fails inYamlDotNet/YamlDotNet/Serialization/Utilities/TypeConverter.cs
Line 226 in a724846
This getting of Parse method fails because of
Suspicious comparison: there is no type in the solution which is inherited from both 'System.Reflection.ParameterInfo' and 'System.Type'
YamlDotNet/YamlDotNet/Helpers/Portability.cs
Line 247 in b758a29
The text was updated successfully, but these errors were encountered: