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

S1905: Use NullableAnnotation() to find differences in type annotations #7036

Merged
merged 4 commits into from
Nov 28, 2023

Conversation

martin-strecker-sonarsource
Copy link
Contributor

Part of #6825

This PR lights up NullableAnnotation() for all symbols that support this property. It also adds the missing usage in RedundantCast that motivated #6825.

The PR was started by working on #5217 which was postponed until later.

@github-actions github-actions bot added this to In progress in Best Kanban Apr 4, 2023
@martin-strecker-sonarsource martin-strecker-sonarsource changed the title Light up NullableAnnotation for all supported symbols S1905: Use NullableAnnotation() to find differences in type annotations Apr 4, 2023
@martin-strecker-sonarsource martin-strecker-sonarsource added Type: Improvement Making existing code better. Area: VB.NET VB.NET rules related issues. Area: C# C# rules related issues. labels Apr 4, 2023
@martin-strecker-sonarsource martin-strecker-sonarsource marked this pull request as ready for review April 4, 2023 16:21
@github-actions github-actions bot moved this from In progress to Review in progress in Best Kanban Apr 4, 2023
@sonarcloud
Copy link

sonarcloud bot commented Apr 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Apr 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@pavel-mikula-sonarsource pavel-mikula-sonarsource moved this from Review in progress to To do in Best Kanban May 17, 2023
@github-actions github-actions bot moved this from To do to Review in progress in Best Kanban Nov 23, 2023
@martin-strecker-sonarsource
Copy link
Contributor Author

@sebastien-marichal This is some slightly older PR that never got the requested review. Please have a look.

Copy link
Contributor

@sebastien-marichal sebastien-marichal left a comment

Choose a reason for hiding this comment

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

LGTM!

@github-actions github-actions bot moved this from Review in progress to Review approved in Best Kanban Nov 28, 2023
Copy link

sonarcloud bot commented Nov 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link

sonarcloud bot commented Nov 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@martin-strecker-sonarsource martin-strecker-sonarsource merged commit 2bfacf0 into master Nov 28, 2023
25 checks passed
Best Kanban automation moved this from Review approved to Validate Peach Nov 28, 2023
@martin-strecker-sonarsource martin-strecker-sonarsource deleted the Martin/SE_5217_NullableContext branch November 28, 2023 17:24
@martin-strecker-sonarsource martin-strecker-sonarsource moved this from Validate Peach to Done in Best Kanban Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: C# C# rules related issues. Area: VB.NET VB.NET rules related issues. Type: Improvement Making existing code better.
Projects
Best Kanban
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants