vs-threading
vs-threading copied to clipboard
The Microsoft.VisualStudio.Threading is a xplat library that provides many threading and synchronization primitives used in Visual Studio and other applications.
#### Bug description When calling an available (eg. public) sync method, and the target object has a method which is not available (eg. protected) and is "async" (returns task-like, has...
Bumps [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) from 3.5.107 to 3.5.108. Release notes Sourced from Nerdbank.GitVersioning's releases. v3.5.108 Changes: #777: Bump Newtonsoft.Json from 9.0.1 to 13.0.1 in /src/NerdBank.GitVersioning This list of changes was auto generated....
Bumps [Nullable](https://github.com/manuelroemer/Nullable) from 1.3.0 to 1.3.1. Changelog Sourced from Nullable's changelog. v1.3.1 This release addresses issues with the .NET 6.0.300 SDK where the source files are no longer available when...
Bumps Microsoft.VisualStudio.Interop from 17.3.32630.470 to 17.3.32728.75. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps Microsoft.VisualStudio.Shell.Framework from 17.2.32531.470 to 17.3.32728.75. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps Microsoft.VisualStudio.Shell.15.0 from 17.2.32531.470 to 17.3.32728.75. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
#### Is your feature request related to a problem? Please describe. I'm having slow performance of VSTHD110 after #777 (Upgrading from v16.9.60 to v16.10.56). My primary (private) solution file compiles...
We should investigate the test failures from the tests disabled in #1040. ## SwitchToMainThreadShouldNotLeakJoinableTaskWhenGetResultRunsFirst ``` Assert.Null() Failure Expected: (null) Actual: Object { } at JoinableTaskTests.SwitchToMainThreadShouldNotLeakJoinableTaskWhenGetResultRunsFirst() in D:\a\1\s\test\Microsoft.VisualStudio.Threading.Tests\JoinableTaskTests.cs:line 3462 ``` ##...
Derived types of awaitable types are not considered awaitable: https://github.com/microsoft/vs-threading/blob/00eb19d63f25b7da7f6b950bf277def5858fcd37/src/Microsoft.VisualStudio.Threading.Analyzers/DiagnosticAnalyzerState.cs#L35-L49 This results in false alarm of VSTHRD200 if the method name ends in Async but returns a derived type of...
#### Is your feature request related to a problem? Please describe. [VSTHRD010](https://github.com/microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD010.md) asks to use `ThreadHelper.ThrowIfNotOnUIThread()` for sync methods. `ThreadHelper` is only available for the `net472` target. `Microsoft.VisualStudio.Threading` is available...