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()) {