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

[netcore] Make System.Data.Tests.SqlTypes.SqlDoubleTest.ReadWriteXmlTest Pass #15176

Closed
steveisok opened this issue Jun 15, 2019 · 1 comment
Closed

Comments

@steveisok
Copy link
Contributor

Fails similarly to #15174, but w/ a different type.

System.Data.Tests.SqlTypes.SqlDoubleTest.ReadWriteXmlTest [FAIL]
      System.InvalidOperationException : There is an error in XML document (0, 0).
      ---- System.InvalidProgramException : Invalid IL code in Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSqlDouble:Read1_double (): IL_00bc: castclass 0x0100000d
      
      
      Stack Trace:
           at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
           at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
           at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
           at System.Data.Tests.SqlTypes.SqlDoubleTest.ReadWriteXmlTestInternal(String xml, Double testval, String unit_test_id)
           at System.Data.Tests.SqlTypes.SqlDoubleTest.ReadWriteXmlTest()
           at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
        ----- Inner Stack Trace -----
           at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Determine why and make the test pass.

@MaximLipnin
Copy link
Contributor

This issue was addressed in dotnet/runtime#2087 and I had no repro for this test within the work dotnet/runtime#2087. I'm closing it.

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