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

[StyleCleanUp] Addressing CS warnings Part 1 #10121

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

himgoyalmicro
Copy link
Contributor

@himgoyalmicro himgoyalmicro commented Nov 26, 2024

Description

This work is a part of our initiative to set code-style guidelines, align WPF and WinForms, and ensure PR standards with respect to styles. This in turn will help us in better maintainability and readability of the repo overall. The changes follow up from the PR #10080 and references to the issue #10017.

The current changes addresses the following Errors/Warnings in the src folder of WPF:

  • CSIsNull001: Use 'is' pattern check
  • CSIsNull002: Use 'is not' pattern check

A good way to go about reviewing this is to go commit by commit which pans over individual errors/warnings, and hence easing out the overall understanding.

Customer Impact

None

Regression

None

Testing

Local Build Pass
The current set of changes looks fairly mechanical and probably don't need a Test Pass, but these set of PRs can be clubbed to do so at a later stage.

Risk

Low

Microsoft Reviewers: Open in CodeFlow

@himgoyalmicro himgoyalmicro requested review from a team as code owners November 26, 2024 13:53
@dotnet-policy-service dotnet-policy-service bot added the PR metadata: Label to tag PRs, to facilitate with triage label Nov 26, 2024
@harshit7962 harshit7962 self-assigned this Dec 5, 2024
harshit7962
harshit7962 previously approved these changes Dec 6, 2024
Copy link
Member

@harshit7962 harshit7962 left a comment

Choose a reason for hiding this comment

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

Reapproving after merge conflict resolution

@himgoyalmicro himgoyalmicro merged commit ab07944 into dotnet:main Dec 17, 2024
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
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.

2 participants