Skip to content

chore(deps): update dependency microsoft.visualstudio.threading.analyzers to v18#6297

Merged
thomhurst merged 1 commit into
mainfrom
renovate/microsoft.visualstudio.threading.analyzers-18.x
Jun 22, 2026
Merged

chore(deps): update dependency microsoft.visualstudio.threading.analyzers to v18#6297
thomhurst merged 1 commit into
mainfrom
renovate/microsoft.visualstudio.threading.analyzers-18.x

Conversation

@thomhurst

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Type Update Change
Microsoft.VisualStudio.Threading.Analyzers (source) nuget major 17.14.1518.7.23

Release Notes

microsoft/vs-threading (Microsoft.VisualStudio.Threading.Analyzers)

v18.7.23

What's Changed

Fixes
Enhancements

New Contributors

Full Changelog: microsoft/vs-threading@v17.14.15...v18.7.23


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@thomhurst thomhurst added dependencies Pull requests that update a dependency file MAJOR renovate-bot labels Jun 22, 2026
@thomhurst thomhurst enabled auto-merge (squash) June 22, 2026 18:26

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This is a single-line dependency bump of Microsoft.VisualStudio.Threading.Analyzers from 17.14.1518.7.23 in Directory.Packages.props.

Assessment: Looks good ✓

Risk is low — this is an analyzer-only package (compile-time tooling, no runtime dependency), so a major version bump carries far less risk than a runtime library upgrade. No production code changes, no API surface changes for consumers.

Notable improvements in v18 that are particularly relevant to TUnit:

  • NativeAOT safety attributes added — TUnit has a hard requirement that all code must work with Native AOT. The new trim/NativeAOT annotations in the analyzer itself align well with this project goal.
  • False-positive fixes — VSTHRD110 (expression-valued scenarios), VSTHRD103 (sync extension methods with async alternatives, superset fix), and VSTHRD114 (null in ternary conditionals) were all causing incorrect diagnostics. Fewer false positives means cleaner CI signal.
  • Regex performance improvement — slow regex removed from the analyzers; marginally faster build times.

One thing to watch: The major version jump (17 → 18) may surface new or stricter analyzer warnings on existing code that previously went undiagnosed. If the build treats warnings-as-errors (common with Roslyn analyzers), this could cause a build failure. The pending CI runs will confirm — the modularpipeline matrix jobs across Linux/macOS/Windows are the right signal here.

No action needed beyond letting CI pass.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

This was referenced Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file MAJOR renovate-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants