From 1a54b36e2bc7cada47213a876d60380893a7332a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 28 Aug 2016 18:12:41 +0200 Subject: [PATCH] Cache shouldn't be exposed at all so drop it. --- OpenRA.Mods.Common/Util.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenRA.Mods.Common/Util.cs b/OpenRA.Mods.Common/Util.cs index 29ea116984..829cd9340c 100644 --- a/OpenRA.Mods.Common/Util.cs +++ b/OpenRA.Mods.Common/Util.cs @@ -203,9 +203,6 @@ namespace OpenRA.Mods.Common if (t.IsSubclassOf(typeof(Array))) return "Multiple {0}".F(FriendlyTypeName(t.GetElementType())); - if (t.IsGenericType && t.GetGenericTypeDefinition() == typeof(Primitives.Cache<,>)) - return "Cached<{0},{1}>".F(t.GetGenericArguments().Select(FriendlyTypeName).ToArray()); - if (t == typeof(int) || t == typeof(uint)) return "Integer";