Skip to content

Set the backing field for get-only properties#34

Merged
davidebbo merged 1 commit intoReflectionMagic:masterfrom
0xced:backing-field
Jun 6, 2023
Merged

Set the backing field for get-only properties#34
davidebbo merged 1 commit intoReflectionMagic:masterfrom
0xced:backing-field

Conversation

@0xced
Copy link
Copy Markdown
Collaborator

@0xced 0xced commented Jun 6, 2023

Before this commit System.ArgumentException was thrown with this message:

Property set method not found.

Fixes #33

Before this commit `System.ArgumentException` was thrown with this message:
> Property set method not found.

Fixes ReflectionMagic#33
@davidebbo davidebbo merged commit 9aafe68 into ReflectionMagic:master Jun 6, 2023
@0xced 0xced deleted the backing-field branch June 7, 2023 06:14
0xced added a commit to 0xced/ReflectionMagic that referenced this pull request Jan 23, 2024
Pull request ReflectionMagic#34 introduced setting the backing field for get-only properties but forgot about inheritance.
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.

Is there a possibility to set auto generated backing fields?

2 participants