Cache shouldn't be exposed at all so drop it.

This commit is contained in:
Matthias Mailänder
2016-08-28 18:12:41 +02:00
committed by reaperrr
parent 55ea54ff2d
commit 1a54b36e2b

View File

@@ -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";