From 59d88199cfa2ccd4269f342ecd845e907e0aa492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 28 Aug 2016 17:47:11 +0200 Subject: [PATCH] Give Dictionaries a friendlier notation. --- OpenRA.Mods.Common/Util.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Util.cs b/OpenRA.Mods.Common/Util.cs index aa5d80629d..9ecb9dc074 100644 --- a/OpenRA.Mods.Common/Util.cs +++ b/OpenRA.Mods.Common/Util.cs @@ -197,7 +197,7 @@ namespace OpenRA.Mods.Common return "Set of {0}".F(t.GetGenericArguments().Select(FriendlyTypeName).ToArray()); if (t.IsGenericType && t.GetGenericTypeDefinition() == typeof(Dictionary<,>)) - return "Dictionary<{0},{1}>".F(t.GetGenericArguments().Select(FriendlyTypeName).ToArray()); + return "Mapping of {0} to {1}".F(t.GetGenericArguments().Select(FriendlyTypeName).ToArray()); if (t.IsSubclassOf(typeof(Array))) return "Multiple {0}".F(FriendlyTypeName(t.GetElementType()));