Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ChrisPulman
Copy link
Member

What kind of change does this PR introduce?

closes #4003

What is the current behavior?

#4003

What is the new behavior?

Refactored BindTo to wrap inner exceptions in TargetInvocationException for better error reporting. Also made minor code cleanups and added missing using directives.

What might this PR break?

users will experience unhandled exceptions if invalid read-only bindings exist i.e. a binding is set to TwoWay for a read only property.

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

Refactored BindTo to wrap inner exceptions in TargetInvocationException for better error reporting. Also made minor code cleanups and added missing using directives.
@ChrisPulman ChrisPulman requested a review from glennawatson July 18, 2025 23:32
@ChrisPulman ChrisPulman merged commit 8ee0b3c into main Jul 21, 2025
1 check passed
@ChrisPulman ChrisPulman deleted the CP_FixFor4003 branch July 21, 2025 22:07
Copy link

github-actions bot commented Aug 5, 2025

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2025
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.

[Bug]: BindTo sometimes swallows exceptions
2 participants