Output: Give non-auto-properties accessor bodies (CS8080)
This commit is contained in:
@@ -24,6 +24,8 @@ namespace Il2CppInspector.Reflection {
|
||||
public MethodInfo GetMethod { get; }
|
||||
public MethodInfo SetMethod { get; }
|
||||
|
||||
public bool IsAutoProperty => DeclaringType.DeclaredFields.Any(f => f.Name == $"<{Name}>k__BackingField");
|
||||
|
||||
public override string Name { get; protected set; }
|
||||
|
||||
public string CSharpName =>
|
||||
|
||||
Reference in New Issue
Block a user