-
Notifications
You must be signed in to change notification settings - Fork 748
.NET property not accessible in derived classes where only the setter or the getter has been overridden #1455
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
Comments
lostmsu
added a commit
to losttech/pythonnet
that referenced
this issue
Dec 28, 2021
…etMethod would not return base non-overriden accessor for a partially overriden property because of that when constructing PropertyObject we scan base classes to find base accessor (if any) this might have performance implications due to replacement of PropertyInfo.GetValue with getter.Invoke (not tested) fixes pythonnet#1455
1 task
lostmsu
added a commit
to losttech/pythonnet
that referenced
this issue
Dec 28, 2021
…etMethod would not return base non-overriden accessor for a partially overriden property because of that when constructing PropertyObject we scan base classes to find base accessor (if any) this might have performance implications due to replacement of PropertyInfo.GetValue with getter.Invoke (not tested) fixes pythonnet#1455
lostmsu
added a commit
to losttech/pythonnet
that referenced
this issue
Dec 29, 2021
…etMethod would not return base non-overriden accessor for a partially overriden property because of that when constructing PropertyObject we scan base classes to find base accessor (if any) this might have performance implications due to replacement of PropertyInfo.GetValue with getter.Invoke (not tested) fixes pythonnet#1455
lostmsu
added a commit
to losttech/pythonnet
that referenced
this issue
Dec 31, 2021
…etMethod would not return base non-overriden accessor for a partially overriden property because of that when constructing PropertyObject we scan base classes to find base accessor (if any) this might have performance implications due to replacement of PropertyInfo.GetValue with getter.Invoke (not tested) fixes pythonnet#1455
lostmsu
added a commit
that referenced
this issue
Jan 4, 2022
…etMethod would not return base non-overriden accessor for a partially overriden property because of that when constructing PropertyObject we scan base classes to find base accessor (if any) this might have performance implications due to replacement of PropertyInfo.GetValue with getter.Invoke (not tested) fixes #1455
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Details
print(d.Name)
will rise the exceptionTypeError: property cannot be read
.print(d.GetType().BaseType.GetProperty('Name').GetValue(d))
instead, but it is not one would expect.The text was updated successfully, but these errors were encountered: