Skip to content

fix: exclude constructed zero-TimeSpan semaphore probes#48

Merged
georgepwall1991 merged 1 commit into
masterfrom
fix/cc026-zero-timespan-construction
Jul 21, 2026
Merged

fix: exclude constructed zero-TimeSpan semaphore probes#48
georgepwall1991 merged 1 commit into
masterfrom
fix/cc026-zero-timespan-construction

Conversation

@georgepwall1991

Copy link
Copy Markdown
Owner

Summary

  • recognize parameterless new TimeSpan() and named target-typed new() as zero-duration semaphore probes
  • require the created type to exactly match the bound framework TimeSpan parameter
  • add regression coverage and update analyzer health metadata for v1.27.193

Verification

  • red: new focused test initially reported 2 CC026 diagnostics
  • green: focused CC026 suite passed 10/10
  • Release build: 62 expected sample warnings, 0 errors
  • full Release suite: 654/654 passed
  • packed CancelCop.Analyzer.1.27.193.nupkg; both analyzer DLLs present and no dependency group
  • touched-file whitespace check passed

Review

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

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