Output: Correctly scope type parameters in class declarations

This commit is contained in:
Katy Coe
2020-02-06 01:46:31 +01:00
parent 7d88fd8fc4
commit 66b8e30586
2 changed files with 11 additions and 3 deletions

View File

@@ -294,6 +294,10 @@ namespace Il2CppInspector.Reflection {
if (usingScope == null)
return CSharpName;
// Generic parameters don't have a scope
if (IsGenericParameter)
return CSharpName;
var s = Namespace + "." + base.Name;
// Built-in keyword type names do not require a scope