Two-way binding modifies value of read-only property #1379
Labels
Bug
Product bug (most likely)
rank20
Rank: Priority/rank on a scale of (1..100)
regression
status: This issue is a regression from a previous build or release
tell-mode
Issues and PR's that require notice to .NET Core Shiproom
Milestone
Problem description:
The two-way binding now changes properties with non-public setters. Is this the expected behavior? .NET Framework 472 throws InvalidOperationException, when you're trying to set two-way binding to read-only property:
Actual behavior:
The two way binding modifies property value even if it has a non-public setter
Expected behavior:
The two way binding shouldn't modify read-only properties. The InvalidOperationException should be thrown.
Minimal repro:
The text was updated successfully, but these errors were encountered: