dotnet
dotnet copied to clipboard
OnPropertyChanged method raised "Value does not fall within the expected range"
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
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