Repository navigation
fix(storage): remove stray ThumbnailMode enum to resolve CS0104 colli… - #25521
muhammad-adeeb9 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Tick the box to add this pull request to the merge queue (same as
|
MartinZikmund
left a comment
There was a problem hiding this comment.
@muhammad-adeeb9 thanks a lot for picking this up, the diagnosis is spot on: Windows.Storage.ThumbnailMode isn't a WinRT type and only clashes with Windows.Storage.FileProperties.ThumbnailMode.
The same fix already landed on master in #25990 (merged Nov 4), which also closed #25479. Besides deleting the file, it cleaned up the leftover StorageFile usage, added the PackageDiffIgnore entry and a note in the 7.0 migration guide. Removing a public type counts as a breaking change, so the API diff check needs that entry. The 7.0 backport is in #26038.
So this PR is superseded and I'd suggest closing it. Sorry the timing didn't work out, and thanks again for the contribution. We'd be happy to see more from you!
GitHub Issue: closes #25479
PR Type: 🐞 Bugfix
What changed? 🚀
Removed the stray
Windows.Storage.ThumbnailModeenum fromsrc/Uno.WinRT/Storage/ThumbnailMode.csto resolve theCS0104ambiguous reference conflict withWindows.Storage.FileProperties.ThumbnailMode, aligning Uno's behavior with standard WinUI.PR Checklist ✅
Screenshots Compare Test Runresults.