Feedback
PropertyInfo.SetValue fails for writable computed properties
- Status
- Fixed
- Fixed in
- v26.6.1
- Source discussion
- https://forum.objo.dev/d/232-introspection-wrongly-saying-computed-property-is-not-writable/4
- Last updated
- 2026-06-03
Public summary
Introspection reported a computed property with a setter as writable, but dynamic writes through PropertyInfo.SetValue failed at runtime with Cannot set property instead of invoking the computed setter. Dynamic reads through PropertyInfo.GetValue and the global GetProperty/SetProperty helpers used the same flawed VM helper path.