CommunityToolkit / CommunityToolkit/dotnet
OnPropertyChanged method raised "Value does not fall within the expected range"
- Dominant language
- C#
- Stars
- 3.8k
- Forks
- 400
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
When I assign a value : this.RootExplorerItem = new LocalFileInfo()
OnPropertyChanged() raised an exception like below Image
BUT!!!
It is Strange that, when I change the name of Property "RootExplorerItem" the expcetion is gone, like rename to "RootExplorerItem1" or rename to "RootExplorer", No pattern yet discovered
Please check it, thanks
### Regression
_No response_
### Steps to reproduce
```text
When I assign a value : this.RootExplorerItem = new LocalFileInfo()
Value does not fall within the expected range. Exception is raised
```
### Expected behavior
no exception was raised
### Screenshots

### IDE and version
VS 2022
### IDE version
_No response_
### Nuget packages
- [ ] CommunityToolkit.Common
- [ ] CommunityToolkit.Diagnostics
- [ ] CommunityToolkit.HighPerformance
- [x] CommunityToolkit.Mvvm (aka MVVM Toolkit)
### Nuget package version(s)
7.1.2
### Additional context
_No response_
### Help us help you
No, just wanted to report this
Contributor guide
Assessment
This issue has not been assessed yet.