DependencyProperty.GetMetadata
doesn't handle custom types correctly
#9939
Labels
area-CoreFramework
Issues on fundamental components like UIElement, visibility, etc.
bug
Something isn't working
team-Markup
Issue for the Markup team
Describe the bug
Passing a custom type to
DependencyProperty.GetMetadata
doesn't get recognized correctly and the returned metadata can have wrong default value.Steps to reproduce the bug
Expected behavior
The last assert should pass
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: