From b27f765378db5645f57d3cad47e0a82c0257678e Mon Sep 17 00:00:00 2001 From: ChrisSchaller Date: Wed, 2 Jun 2021 12:18:21 +1000 Subject: [PATCH] Update DayOfWeek.xml The ordering of the enum values is significant, both in terms of real-world calendar systems and the ordinality of the values. The previous document was not sorted by any obvious means, alphabetical might be acceptable at a stretch, but enums in C# have significant values and those values should are expected to define their _natural_ order. --- xml/System/DayOfWeek.xml | 92 ++++++++++++++++++++-------------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/xml/System/DayOfWeek.xml b/xml/System/DayOfWeek.xml index 0fd4474c075..0979951fcb3 100644 --- a/xml/System/DayOfWeek.xml +++ b/xml/System/DayOfWeek.xml @@ -71,13 +71,13 @@ - - - - - - - + + + + + + + Field System.Runtime @@ -106,9 +106,9 @@ System.DayOfWeek - 5 + 0 - Indicates Friday. + Indicates Sunday. @@ -151,13 +151,13 @@ Indicates Monday. - - - - - - - + + + + + + + Field System.Runtime @@ -186,18 +186,18 @@ System.DayOfWeek - 6 + 2 - Indicates Saturday. + Indicates Tuesday. - - - - - - - + + + + + + + Field System.Runtime @@ -226,9 +226,9 @@ System.DayOfWeek - 0 + 3 - Indicates Sunday. + Indicates Wednesday. @@ -271,13 +271,13 @@ Indicates Thursday. - - - - - - - + + + + + + + Field System.Runtime @@ -306,18 +306,18 @@ System.DayOfWeek - 2 + 5 - Indicates Tuesday. + Indicates Friday. - - - - - - - + + + + + + + Field System.Runtime @@ -346,10 +346,10 @@ System.DayOfWeek - 3 + 6 - Indicates Wednesday. + Indicates Saturday. - +