Skip to content

fix: diagnose conditional Task waits#50

Merged
georgepwall1991 merged 1 commit into
masterfrom
fix/cc015-conditional-wait
Jul 21, 2026
Merged

fix: diagnose conditional Task waits#50
georgepwall1991 merged 1 commit into
masterfrom
fix/cc015-conditional-wait

Conversation

@georgepwall1991

Copy link
Copy Markdown
Owner

Summary

  • diagnose null-conditional Task.Wait calls inside async code
  • normalize ordinary member access and conditional member binding before the existing semantic checks
  • preserve zero-timeout exclusions, including conditional task?.Wait(0) probes
  • intentionally offer no conditional-access fix and update v1.27.195 metadata

Verification

  • red: new conditional wait test expected 1 CC015 diagnostic and received 0
  • green: focused CC015 suite passed 20/20
  • Release build: 62 expected sample warnings, 0 errors
  • full Release suite: 656/656 passed
  • packed dependency-free CancelCop.Analyzer.1.27.195.nupkg with both analyzer DLLs
  • touched-file whitespace check passed

Review

  • self-review requested by repository owner; no Claude review used

@georgepwall1991
georgepwall1991 merged commit 8c95dcb into master Jul 21, 2026
1 check passed
@georgepwall1991
georgepwall1991 deleted the fix/cc015-conditional-wait branch July 21, 2026 23:05
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.

1 participant