Skip to content

fix: diagnose conditional semaphore waits#51

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

fix: diagnose conditional semaphore waits#51
georgepwall1991 merged 1 commit into
masterfrom
fix/cc026-conditional-wait

Conversation

@georgepwall1991

Copy link
Copy Markdown
Owner

Summary

  • diagnose null-conditional SemaphoreSlim.Wait calls inside async code
  • normalize ordinary member access and conditional member binding before existing semantic checks
  • preserve conditional zero-timeout exclusions
  • intentionally offer no conditional-access fix and update v1.27.196 metadata

Verification

  • red: new conditional semaphore wait test expected 1 CC026 diagnostic and received 0
  • green: focused CC026 suite passed 11/11
  • Release build: 62 expected sample warnings, 0 errors
  • full Release suite: 657/657 passed
  • packed dependency-free CancelCop.Analyzer.1.27.196.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 8c133e2 into master Jul 21, 2026
1 check passed
@georgepwall1991
georgepwall1991 deleted the fix/cc026-conditional-wait branch July 21, 2026 23:20
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