Fix PropertyInfo.Name override warning

This commit is contained in:
Katy Coe
2018-03-18 05:43:38 +01:00
parent 79ac482d72
commit 2dd4598716

View File

@@ -17,7 +17,7 @@ namespace Il2CppInspector.Reflection {
public MethodInfo GetMethod { get; }
public MethodInfo SetMethod { get; }
public string Name { get; }
public override string Name { get; protected set; }
public TypeInfo PropertyType => GetMethod?.ReturnType ?? SetMethod.DeclaredParameters[0].ParameterType;