Model: Handle generic methods and set DeclaringMethod
This commit is contained in:
@@ -28,6 +28,7 @@ namespace Il2CppInspector.Reflection
|
||||
ReturnParameter = new ParameterInfo(pkg, -1, this);
|
||||
}
|
||||
|
||||
// TODO: Generic arguments (and on ConstructorInfo)
|
||||
public override string ToString() => ReturnType.Name + " " + Name + "(" + string.Join(", ", DeclaredParameters.Select(x => x.ParameterType.Name)) + ")";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user