From 6f4530f8a818e892a5203db87ba1bfe2cea17c9d Mon Sep 17 00:00:00 2001 From: "Stefanos A." Date: Mon, 28 Oct 2013 14:08:55 +0100 Subject: [PATCH] Sort tokens within an enum This allows us to keep a specific ordering regardless of the token order in the input file (much friendlier for source control!) --- Source/Bind/Structures/Enum.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Bind/Structures/Enum.cs b/Source/Bind/Structures/Enum.cs index 8e553d2f..12cc98f9 100644 --- a/Source/Bind/Structures/Enum.cs +++ b/Source/Bind/Structures/Enum.cs @@ -39,7 +39,7 @@ namespace Bind.Structures set { _type = value; } } - Dictionary _constant_collection = new Dictionary(); + SortedDictionary _constant_collection = new SortedDictionary(); public IDictionary ConstantCollection {