mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2025-12-19 09:49:41 +05:00
Output: Handle indexers correctly
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Il2CppInspector.Reflection {
|
||||
|
||||
public override string Name { get; protected set; }
|
||||
|
||||
public TypeInfo PropertyType => GetMethod?.ReturnType ?? SetMethod.DeclaredParameters[0].ParameterType;
|
||||
public TypeInfo PropertyType => GetMethod?.ReturnType ?? SetMethod.DeclaredParameters[^1].ParameterType;
|
||||
|
||||
public override MemberTypes MemberType => MemberTypes.Property;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user