Skip to content

Conversation

magneticflux-
Copy link

Previously, the property in the base class and the property in the subclass would both be returned, causing us to complain about duplicate arguments/options that are actually the same.

Closes #555

Previously, the property in the base class and the property in the subclass would both be returned, causing us to complain about duplicate arguments/options that are actually the same.

Closes natemcmaster#555
@magneticflux-
Copy link
Author

I think this handles all cases of property overriding while still correctly flagging property hiding/similar-looking private properties, but I'm new to C# so I might have missed an edge case!

@magneticflux-
Copy link
Author

@natemcmaster Just a friendly reminder!

If you'd like, I could also try adding a regression test for this specific case of attribute inheritance so it doesn't get inadvertently removed again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support attributes with overrides
1 participant