Skip to content

Update XamlPlatformProvider.cs #973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025
Merged

Update XamlPlatformProvider.cs #973

merged 1 commit into from
Jun 18, 2025

Conversation

vb2ae
Copy link
Member

@vb2ae vb2ae commented Jun 15, 2025

This pull request includes a minor change to the BeginOnUIThread method in the XamlPlatformProvider class. The change replaces unused variable assignments with a discard operator (_) to improve code clarity and avoid compiler warnings.

@vb2ae vb2ae requested a review from Copilot June 15, 2025 11:19
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the BeginOnUIThread method in XamlPlatformProvider to improve code clarity by replacing unused variable assignments with the discard operator.

  • Replaced the unused variable in the dispatcher.RunAsync call.
  • Replaced the unused variable in the dispatcher.TryEnqueue call.

@vb2ae vb2ae merged commit e3abf77 into master Jun 18, 2025
4 checks passed
@vb2ae vb2ae deleted the codeql_xamlpatformprovider branch June 18, 2025 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant