cleanup CacheMembers a bit

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

No files matched your search

+3 -3
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))
{