From eb944df3de57c8117e5b5a75cba1aad3a83940c6 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 9 Aug 2024 22:44:28 +0200 Subject: [PATCH] small documentation fix --- DynamicEnums/EnumHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DynamicEnums/EnumHelper.cs b/DynamicEnums/EnumHelper.cs index e7c5b69..c582c93 100644 --- a/DynamicEnums/EnumHelper.cs +++ b/DynamicEnums/EnumHelper.cs @@ -12,7 +12,7 @@ namespace DynamicEnums { /// Note that this method is a version-independent equivalent of .NET 5's Enum.GetValues<TEnum>. /// /// The type whose enum to get - /// An enumerable of the values of the enum, in declaration order. + /// An enumerable of the values of the enum, in ascending value order. public static T[] GetValues() where T : struct, Enum { #if NET6_0_OR_GREATER return Enum.GetValues(); @@ -25,7 +25,7 @@ namespace DynamicEnums { /// Returns an array containing all of the values of the given enum type, excluding any explicitly defined combined flags. /// /// The type whose enum to get. - /// An enumerable of the values of the enum, in declaration order, excluding combined flags. + /// An enumerable of the values of the enum, in ascending value order, excluding combined flags. public static IEnumerable GetUniqueValues() where T : struct, Enum { var used = 0L; foreach (var value in EnumHelper.GetValues()) {