Skip to content

Conversation

@stephentoub
Copy link
Member

@stephentoub stephentoub commented Nov 29, 2025

Microsoft Reviewers: Open in CodeFlow

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 updates the Microsoft.VisualStudio.Threading.Analyzers package from version 17.10.48 to 17.14.15 and addresses a new analyzer warning (VSTHRD002) in the FakeHost.Dispose method by adding a pragma warning suppression and removing the ConfigureAwait(false) call.

Key Changes

  • Upgraded Microsoft.VisualStudio.Threading.Analyzers from 17.10.48 to 17.14.15
  • Suppressed VSTHRD002 warning for synchronous wait in FakeHost.Dispose method
  • Removed ConfigureAwait(false) from the synchronous wait pattern

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
eng/packages/General.props Updated Microsoft.VisualStudio.Threading.Analyzers package version to 17.14.15
src/Libraries/Microsoft.Extensions.Hosting.Testing/FakeHost.cs Added VSTHRD002 pragma suppression and removed ConfigureAwait(false) from StopAsync call in Dispose method

@evgenyfedorov2 evgenyfedorov2 merged commit 7e19cc5 into dotnet:main Dec 1, 2025
12 of 13 checks passed
@stephentoub stephentoub deleted the updatevsthrd branch December 1, 2025 10:58
This was referenced Dec 11, 2025
This was referenced Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants