-
Notifications
You must be signed in to change notification settings - Fork 1.9k
FilePicker PickMultipleAsync nullable reference type #27710
Copy link
Copy link
Closed
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infoarea-essentials-filepickerpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationt/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
FilePicker.PickMultipleAsync() can return null.
The documentation is correct, but the nullable reference type annotation for the return value is wrong.
Steps to Reproduce
var fileResults = await filePicker.PickMultipleAsync(PickOptions.Default);
// Warning: Expression is always true according to nullable reference types' annotations
if (fileResults is not null)
{
// Some code
}Link to public reproduction project repository
No response
Version with bug
8.0.100 SR10
Is this a regression from previous behavior?
Not sure, did not test other versions
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-essentialsEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App InfoEssentials: Device, Display, Connectivity, Secure Storage, Sensors, App Infoarea-essentials-filepickerpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationt/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done