cleanup CacheMembers a bit

This commit is contained in:
sinaioutlander
2020-11-17 23:26:22 +11:00
parent 44ac4312e8
commit 2a3df5de9d
6 changed files with 123 additions and 156 deletions

View File

@ -42,10 +42,10 @@ namespace UnityExplorer.UI
public static string ParseFullSyntax(Type type, bool includeNamespace, MemberInfo memberInfo = null)
{
string ret = "";
if (type == null)
return "????????????";
throw new ArgumentNullException("type");
string ret = "";
if (type.IsGenericParameter || (type.HasElementType && type.GetElementType().IsGenericParameter))
{