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

Fix issues raised by static analysis #26805

Closed
ajcvickers opened this issue Nov 23, 2021 · 0 comments
Closed

Fix issues raised by static analysis #26805

ajcvickers opened this issue Nov 23, 2021 · 0 comments
Labels
area-global closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-cleanup
Milestone

Comments

@ajcvickers
Copy link
Contributor

No description provided.

@ajcvickers ajcvickers self-assigned this Nov 23, 2021
@ajcvickers ajcvickers added this to the MQ milestone Nov 23, 2021
ajcvickers added a commit that referenced this issue Nov 23, 2021
Mostly completely automatic; a few manual tweaks.

Part of #26805
ajcvickers added a commit that referenced this issue Dec 5, 2021
Mostly completely automatic; a few manual tweaks.

Part of #26805
ajcvickers added a commit that referenced this issue Dec 6, 2021
ajcvickers added a commit that referenced this issue Dec 6, 2021
ajcvickers added a commit that referenced this issue Dec 6, 2021
ajcvickers added a commit that referenced this issue Dec 7, 2021
ajcvickers added a commit that referenced this issue Dec 7, 2021
ajcvickers added a commit that referenced this issue Dec 7, 2021
ajcvickers added a commit that referenced this issue Dec 7, 2021
ajcvickers added a commit that referenced this issue Dec 7, 2021
Part of #26805.

- Simplify LINQ Any to All
- Convert if to ||
- Make abstract class constructor protected
- Convert to const
- Join declaration and assignment
- Replace with simple assignment
- Simplify conditional ternary
- Merge Where into FirstOrDefault
- Use Ordinal comparison
ajcvickers added a commit that referenced this issue Dec 8, 2021
Part of #26805

For example:
- Assignment is not used
- Redundant discard
- Redundant explicit size in array creation
- Convert field to local
- Redundant verbatim prefix
- Redundant lambda parens
ajcvickers added a commit that referenced this issue Dec 8, 2021
ajcvickers added a commit that referenced this issue Dec 9, 2021
Part of #26805

For example:
- Assignment is not used
- Redundant discard
- Redundant explicit size in array creation
- Convert field to local
- Redundant verbatim prefix
- Redundant lambda parens
ajcvickers added a commit that referenced this issue Dec 9, 2021
Part of #26805

For example:
- Assignment is not used
- Redundant discard
- Redundant explicit size in array creation
- Convert field to local
- Redundant verbatim prefix
- Redundant lambda parens
ajcvickers added a commit that referenced this issue Dec 9, 2021
ajcvickers added a commit that referenced this issue Dec 11, 2021
ajcvickers added a commit that referenced this issue Dec 12, 2021
ajcvickers added a commit that referenced this issue Dec 14, 2021
@ajcvickers ajcvickers added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Dec 14, 2021
@ajcvickers ajcvickers modified the milestones: MQ, 7.0.0 Dec 14, 2021
@ajcvickers ajcvickers modified the milestones: 7.0.0, 7.0.0-preview1 Feb 14, 2022
@ajcvickers ajcvickers modified the milestones: 7.0.0-preview1, 7.0.0 Nov 5, 2022
@ajcvickers ajcvickers removed their assignment Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-global closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-cleanup
Projects
None yet
Development

No branches or pull requests

1 participant