There isn't a null check before calling **DataContextChanged** in .g.cs file for .xaml #9551
Labels
area-Binding
bug
Something isn't working
closed-Fixed
Described behavior has been fixed.
team-Markup
Issue for the Markup team
Milestone
Describe the bug
There isn't a null check before calling DataContextChanged in .g.cs file for .xaml:
` // IDataTemplateComponent
`
A static code analyzer reports this issue.
Is it guaranteed to be a nonnull value?
Steps to reproduce the bug
Expected behavior
If it is not guaranteed to be a nonnull value, there should be a null check before calling DataContextChanged.
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: