Skip to content
New issue

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

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

Already on GitHub? # to your account

[Cleanup] Use named arguments in System.Xaml #10061

Conversation

ThomasGoulet73
Copy link
Contributor

@ThomasGoulet73 ThomasGoulet73 commented Nov 13, 2024

Contributes to #10018

Description

I replaced comments specifying an argument name with named arguments, which were introduced in C# 7. This improves readability and maintainability.

Note: The compiled IL is identical.

Customer Impact

None.

Regression

No.

Testing

Local build + validated IL.

Risk

Low to none.

Microsoft Reviewers: Open in CodeFlow

@ThomasGoulet73 ThomasGoulet73 requested review from a team as code owners November 13, 2024 00:21
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Nov 13, 2024
Copy link
Member

@lindexi lindexi left a comment

Choose a reason for hiding this comment

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

LGTM

@himgoyalmicro himgoyalmicro self-assigned this Dec 10, 2024
@ThomasGoulet73 ThomasGoulet73 changed the title Cleanup: Use named arguments in System.Xaml [Cleanup] Use named arguments in System.Xaml Dec 17, 2024
himgoyalmicro
himgoyalmicro previously approved these changes Dec 18, 2024
@himgoyalmicro
Copy link
Contributor

LGTM. We have included it in test pass, and I will have the result soon.
Meanwhile, @ThomasGoulet73 Can you please resolve the merge conflicts?

@ThomasGoulet73
Copy link
Contributor Author

Done.

@himgoyalmicro himgoyalmicro merged commit e9bc60b into dotnet:main Dec 30, 2024
8 checks passed
@himgoyalmicro
Copy link
Contributor

Thank you @ThomasGoulet73 for your contribution 😄

@ThomasGoulet73
Copy link
Contributor Author

Thanks

@ThomasGoulet73 ThomasGoulet73 deleted the cleanup-use-named-arguments-in-System.Xaml branch December 30, 2024 20:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Community Contribution A label for all community Contributions Included in test pass PR metadata: Label to tag PRs, to facilitate with triage Status:Completed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants