dotnet icon indicating copy to clipboard operation
dotnet copied to clipboard

OnPropertyChanged method raised "Value does not fall within the expected range"

Open jevonsflash opened this issue 3 years ago • 0 comments

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

image

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

jevonsflash avatar Mar 19 '22 11:03 jevonsflash