Skip to content

Conversation

@thisisthekap
Copy link
Contributor

Description of Change

Fixed ArgumentNullException in Page.DisplayAlert(string title, string message, string accept, string cancel, FlowDirection flowDirection).

Issues Fixed

Fixes #31473

@thisisthekap thisisthekap requested a review from a team as a code owner September 3, 2025 21:15
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Sep 3, 2025
@dotnet-policy-service
Copy link
Contributor

Hey there @@thisisthekap! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jsuarezruiz jsuarezruiz added the area-controls-dialogalert DisplayAlert, dialog label Sep 4, 2025
=> DisplayAlertAsync(title, message, null, cancel, flowDirection);

/// <inheritdoc cref="DisplayAlertAsync(string, string, string, string, FlowDirection)"/>
[Obsolete("Use DisplayAlertAsync instead")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A quick note, This is an [Obsolete] method marked for removal. Users are explicitly directed to use DisplayAlertAsync instead, so, the change fixes a bug in code that should ideally not be used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am aware that this method is marked for removal. But as it is used (e.g. by https://github.com/PrismLibrary/Prism), we need to make sure that the method works properly.

@jfversluis jfversluis merged commit 58944a1 into dotnet:net10.0 Sep 4, 2025
137 of 149 checks passed
@jfversluis jfversluis added this to the .NET 10.0-rc2 milestone Sep 4, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-dialogalert DisplayAlert, dialog community ✨ Community Contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants