Model: Use square brackets for generic type parameters in FullName
This commit is contained in:
@@ -97,8 +97,8 @@ namespace Il2CppInspector.Reflection {
|
|||||||
+ (Namespace.Length > 0? "." : "")
|
+ (Namespace.Length > 0? "." : "")
|
||||||
+ (DeclaringType != null? DeclaringType.Name + "." : "")
|
+ (DeclaringType != null? DeclaringType.Name + "." : "")
|
||||||
+ base.Name
|
+ base.Name
|
||||||
+ (GenericTypeParameters != null ? "<" + string.Join(", ", GenericTypeParameters.Select(x => x.Name)) + ">" : "")
|
+ (GenericTypeParameters != null ? "[" + string.Join(", ", GenericTypeParameters.Select(x => x.Name)) + "]" : "")
|
||||||
+ (GenericTypeArguments != null ? "<" + string.Join(", ", GenericTypeArguments.Select(x => x.Name)) + ">" : "")
|
+ (GenericTypeArguments != null ? "[" + string.Join(", ", GenericTypeArguments.Select(x => x.Name)) + "]" : "")
|
||||||
+ (IsArray? "[]" : "");
|
+ (IsArray? "[]" : "");
|
||||||
|
|
||||||
// TODO: Alot of other generics stuff
|
// TODO: Alot of other generics stuff
|
||||||
|
|||||||
Reference in New Issue
Block a user