You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XmlBinaryReader.ReadElementContentAsDouble() is not working for double.NaN which is throwing an exception in .net7 The input source is not correctly formatted.. But which is working fine in .net6.
We are using CoreWCF and we are trying to send double.NaN as a parameter. Samething we are getting the below exception .net7 System.ServiceModel.FaultException: 'The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'NanTest'. The input source is not correctly formatted.'. But which is working fine in .net6
Activity
jvnvenu commentedon Dec 1, 2022
Tagging subscribes area-System.ServiceModel @HongGit @mconnew @g7ed6e
gajdusep commentedon Dec 1, 2022
It seems (de)serialization is broken in .NET 7 in multiple places: #78913
StephenMolloy commentedon Feb 2, 2023
Fixed by #80321 for 7.0.