From 2dd459871696aebf3e164dec983323433912df9f Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Sun, 18 Mar 2018 05:43:38 +0100 Subject: [PATCH] Fix PropertyInfo.Name override warning --- Il2CppInspector/Reflection/PropertyInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector/Reflection/PropertyInfo.cs b/Il2CppInspector/Reflection/PropertyInfo.cs index 0456050..8d59db8 100644 --- a/Il2CppInspector/Reflection/PropertyInfo.cs +++ b/Il2CppInspector/Reflection/PropertyInfo.cs @@ -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;