Source Generation fails when Items put directly inside List controls #18296
Labels
area/code-generation
Categorizes an issue or PR as relevant to code generation
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
When building the project on Uno targets it fails with:
This works well with WinUI.
Expected behavior
No response
How to reproduce it (as minimally and precisely as possible)
e.g.
more detailed repro:
SourceGenitemsIssue.zip
Workaround
Rename Item class to anything else.
No response
Works on UWP/WinUI
Yes
Environment
No response
NuGet package version(s)
No response
Affected platforms
WebAssembly, Android, iOS, Mac Catalyst, Skia (WPF), Skia (Linux X11), Skia (macOS), Skia (Linux Framebuffer), Skia (GTK)
The text was updated successfully, but these errors were encountered: