Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure SetupAllProperties stubs all accessors of partially overridden properties #950

Merged
merged 4 commits into from
Oct 19, 2019

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Oct 19, 2019

Fixes #886.

The newly introduced helper extension methods property.CanRead(out MethodInfo getter) and property.CanWrite(out MethodInfo setter) may also be applicable elsewhere in the code base where we currently use property.CanRead and property.CanWrite. Care should be taken when replacing the latter with the former as this might change the code's semantics.

@stakx stakx added this to the 4.13.1 milestone Oct 19, 2019
@stakx stakx force-pushed the split-properties branch 2 times, most recently from 19c5fae to 64774b9 Compare October 19, 2019 17:12
@stakx stakx merged commit a854f34 into devlooped:master Oct 19, 2019
@stakx stakx deleted the split-properties branch October 19, 2019 17:40
@devlooped devlooped locked and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SetupAllProperties does not recognize property as read-write if only setter is overridden
1 participant