Cache shouldn't be exposed at all so drop it.
This commit is contained in:
committed by
reaperrr
parent
55ea54ff2d
commit
1a54b36e2b
@@ -203,9 +203,6 @@ namespace OpenRA.Mods.Common
|
|||||||
if (t.IsSubclassOf(typeof(Array)))
|
if (t.IsSubclassOf(typeof(Array)))
|
||||||
return "Multiple {0}".F(FriendlyTypeName(t.GetElementType()));
|
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))
|
if (t == typeof(int) || t == typeof(uint))
|
||||||
return "Integer";
|
return "Integer";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user