Skip to content

Conversation

@aschackmull
Copy link
Contributor

@aschackmull aschackmull commented Oct 31, 2025

Now that splitting is reduced, this particular condition only serves to rule out SSA entry definitions, since they don't have an associated AST element, and I don't think those sources should be excluded.

Looking through some of the dca result diffs all of the new results look like TPs to me.

@github-actions github-actions bot added the C# label Oct 31, 2025
@aschackmull aschackmull marked this pull request as ready for review October 31, 2025 13:10
@aschackmull aschackmull requested a review from a team as a code owner October 31, 2025 13:10
Copilot AI review requested due to automatic review settings October 31, 2025 13:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modifies the nullness analysis in C# to allow nullness sources with SSA (Static Single Assignment) at entry. The change removes a constraint that was excluding SSA entry definitions (which don't have an associated AST element) from being considered as potential null sources.

  • Removes a strictcount condition that filtered out SSA definitions without AST elements
  • Enables detection of additional true positive null-related issues

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aschackmull aschackmull merged commit e558c02 into github:main Oct 31, 2025
22 of 23 checks passed
@aschackmull aschackmull deleted the csharp/tweak-nullness branch October 31, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants