diff --git a/src/UI/Utility/SignatureHighlighter.cs b/src/UI/Utility/SignatureHighlighter.cs
index ffbe7c5..83e3765 100644
--- a/src/UI/Utility/SignatureHighlighter.cs
+++ b/src/UI/Utility/SignatureHighlighter.cs
@@ -65,7 +65,9 @@ namespace UnityExplorer.UI.Utility
// Namespace
- if (includeNamespace && !string.IsNullOrEmpty(type.Namespace))
+ bool isGeneric = type.IsGenericParameter || (type.HasElementType && type.GetElementType().IsGenericParameter);
+
+ if (!isGeneric && includeNamespace && !string.IsNullOrEmpty(type.Namespace))
syntaxBuilder.Append($"{type.Namespace}.");
// Declaring type
@@ -112,8 +114,10 @@ namespace UnityExplorer.UI.Utility
public static string ParseFullType(Type type, bool includeNamespace = false, bool includeDllName = false)
{
string ret = HighlightType(type);
-
- if (includeNamespace && !string.IsNullOrEmpty(type.Namespace))
+
+ bool isGeneric = type.IsGenericParameter || (type.HasElementType && type.GetElementType().IsGenericParameter);
+
+ if (!isGeneric && includeNamespace && !string.IsNullOrEmpty(type.Namespace))
ret = $"{type.Namespace}.{ret}";
if (includeDllName)