From 8ea0ab671c9740e2e35cbc37645b4a48ff1ed593 Mon Sep 17 00:00:00 2001 From: Buyaa Namnan Date: Tue, 25 Feb 2020 11:28:08 -0800 Subject: [PATCH 1/3] For obsolote method alternate suggesting XmlDateTimeSerializationMode can be used and exact replacement suggestion --- xml/System.Xml/XmlConvert.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/xml/System.Xml/XmlConvert.xml b/xml/System.Xml/XmlConvert.xml index 7289369406b..0b3fe9dd3ef 100644 --- a/xml/System.Xml/XmlConvert.xml +++ b/xml/System.Xml/XmlConvert.xml @@ -1844,6 +1844,7 @@ writer.WriteElementString(XmlConvert.EncodeName("Order Detail"),"My order"); > [!NOTE] > The method is obsolete in the 2.0 version of the .NET Framework and has been replaced with the method. + Suggested mode is XmlDateTimeSerializationMode.RoundtripKind, if exact matching result expected please use with format string 'yyyy-MM-ddTHH:mm:ss.fffffffzzzzzz' ]]> From a1529307e466f43fe7f82ae422ef833302e26d3f Mon Sep 17 00:00:00 2001 From: buyaa-n Date: Tue, 25 Feb 2020 12:59:25 -0800 Subject: [PATCH 2/3] Update xml/System.Xml/XmlConvert.xml Co-Authored-By: Carlos Sanchez Lopez <1175054+carlossanlop@users.noreply.github.com> --- xml/System.Xml/XmlConvert.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Xml/XmlConvert.xml b/xml/System.Xml/XmlConvert.xml index 0b3fe9dd3ef..618ede2ed8b 100644 --- a/xml/System.Xml/XmlConvert.xml +++ b/xml/System.Xml/XmlConvert.xml @@ -1844,7 +1844,7 @@ writer.WriteElementString(XmlConvert.EncodeName("Order Detail"),"My order"); > [!NOTE] > The method is obsolete in the 2.0 version of the .NET Framework and has been replaced with the method. - Suggested mode is XmlDateTimeSerializationMode.RoundtripKind, if exact matching result expected please use with format string 'yyyy-MM-ddTHH:mm:ss.fffffffzzzzzz' + The suggested mode is . If an exact match is expected, please use with the format string `yyyy-MM-ddTHH:mm:ss.fffffffzzzzzz`. ]]> From 194ceea91b2ce0dcf7d6f4ed273a8d7420b2dba7 Mon Sep 17 00:00:00 2001 From: Buyaa Namnan Date: Tue, 25 Feb 2020 13:57:00 -0800 Subject: [PATCH 3/3] Add paragrapgh --- xml/System.Xml/XmlConvert.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Xml/XmlConvert.xml b/xml/System.Xml/XmlConvert.xml index 0b3fe9dd3ef..5a7c5c6bcc0 100644 --- a/xml/System.Xml/XmlConvert.xml +++ b/xml/System.Xml/XmlConvert.xml @@ -1844,7 +1844,7 @@ writer.WriteElementString(XmlConvert.EncodeName("Order Detail"),"My order"); > [!NOTE] > The method is obsolete in the 2.0 version of the .NET Framework and has been replaced with the method. - Suggested mode is XmlDateTimeSerializationMode.RoundtripKind, if exact matching result expected please use with format string 'yyyy-MM-ddTHH:mm:ss.fffffffzzzzzz' +> The suggested mode is . If an exact match is expected, please use with the format string `yyyy-MM-ddTHH:mm:ss.fffffffzzzzzz`. ]]>