Skip to content
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

Modernizing syntax #12226

Merged
merged 2 commits into from
Jul 17, 2023
Merged

Modernizing syntax #12226

merged 2 commits into from
Jul 17, 2023

Conversation

Lehonti
Copy link
Contributor

@Lehonti Lehonti commented Jul 17, 2023

What does the pull request do?

  • Modernized syntax used for argument checking exceptions. String literals have been converted to nameof()
  • Some instances of ArgumentException were being created incorrectly (arguments were in wrong order) so they were switched
  • Many places where string.Format was used were converted to interpolated string for readability

What is the updated/expected behavior with this PR?

No significant changes in behavior

@avaloniaui-team
Copy link
Contributor

You can test this PR using the following package version. 11.0.999-cibuild0037820-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@kekekeks kekekeks added this pull request to the merge queue Jul 17, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 17, 2023
@maxkatz6 maxkatz6 added this pull request to the merge queue Jul 17, 2023
Merged via the queue into AvaloniaUI:master with commit 6bb704c Jul 17, 2023
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.

4 participants