-
Notifications
You must be signed in to change notification settings - Fork 1.9k
FilePicker PickMultipleAsync nullable reference type #33114
Copy link
Copy link
Labels
area-essentials-filepickeri/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosregressed-in-10-preview3s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-essentials-filepickeri/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosregressed-in-10-preview3s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
FilePicker.PickMultipleAsync()can returnnull.The method declaration is
Task<IEnumerable<FileResult?>> PickMultipleAsync(PickOptions? options = null);, but it should beTask<IEnumerable<FileResult>?> PickMultipleAsync(PickOptions? options = null);The
IEnumerableshould be nullable, not theFileResult.https://learn.microsoft.com/en-us/dotnet/api/microsoft.maui.storage.filepicker.pickmultipleasync?view=net-maui-10.0
See issue #27710
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
10.0.20
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
No response
Affected platforms
iOS, Android, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output