just check for FullName == null in getScopedFullname

This commit is contained in:
LukeFZ
2024-02-25 15:23:58 +01:00
parent 2a492e02ba
commit e328ed9b84

View File

@@ -415,7 +415,7 @@ namespace Il2CppInspector.Reflection
private string getScopedFullName(Scope scope) private string getScopedFullName(Scope scope)
{ {
// Generic type parameters take precedence over all other names, so if FullName is null (== generic) we can just return the name itself // Generic type parameters take precedence over all other names, so if FullName is null (== generic) we can just return the name itself
if (IsGenericParameter) if (FullName == null)
return this.Name; return this.Name;
// This is the type to be used (generic type parameters have a null FullName) // This is the type to be used (generic type parameters have a null FullName)