Delete duplicated consts in XmlUTF8TextReader (#63367)
authorStephen Toub <stoub@microsoft.com>
Sat, 8 Jan 2022 20:22:56 +0000 (15:22 -0500)
committerGitHub <noreply@github.com>
Sat, 8 Jan 2022 20:22:56 +0000 (12:22 -0800)
This has no impact on the compiled code, but it's unnecessary.

src/libraries/System.Private.DataContractSerialization/src/System/Xml/XmlUTF8TextReader.cs

index 7ddea5e..2926030 100644 (file)
@@ -52,15 +52,15 @@ namespace System.Xml
                 /*  8 (.) */
                          CharType.None,
                 /*  9 (.) */
-                         CharType.None|CharType.Comment|CharType.Comment|CharType.Whitespace|CharType.Text|CharType.SpecialWhitespace,
+                         CharType.None|CharType.Comment|CharType.Whitespace|CharType.Text|CharType.SpecialWhitespace,
                 /*  A (.) */
-                         CharType.None|CharType.Comment|CharType.Comment|CharType.Whitespace|CharType.Text|CharType.SpecialWhitespace,
+                         CharType.None|CharType.Comment|CharType.Whitespace|CharType.Text|CharType.SpecialWhitespace,
                 /*  B (.) */
                          CharType.None,
                 /*  C (.) */
                          CharType.None,
                 /*  D (.) */
-                         CharType.None|CharType.Comment|CharType.Comment|CharType.Whitespace,
+                         CharType.None|CharType.Comment|CharType.Whitespace,
                 /*  E (.) */
                          CharType.None,
                 /*  F (.) */