Fix serializing types with struct ref properties (#1924)
This commit is contained in:
@@ -390,7 +390,8 @@ namespace Newtonsoft.Json.Tests.Serialization
|
||||
{
|
||||
#if !(NET20 || NET35)
|
||||
"[1] - 1 - The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.",
|
||||
"[1] - 1 - String was not recognized as a valid DateTime."
|
||||
"[1] - 1 - String was not recognized as a valid DateTime.",
|
||||
"[1] - 1 - The string 'I am not a date and will error!' was not recognized as a valid DateTime. There is an unknown word starting at index '0'."
|
||||
#else
|
||||
// handle typo fix in later versions of .NET
|
||||
"[1] - 1 - The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.",
|
||||
|
||||
Reference in New Issue
Block a user