File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/Libraries/Microsoft.Extensions.Hosting.Testing Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4444 </ItemGroup >
4545
4646 <ItemGroup >
47- <PackageVersion Include =" Microsoft.VisualStudio.Threading.Analyzers" Version =" 17.10.48 " />
47+ <PackageVersion Include =" Microsoft.VisualStudio.Threading.Analyzers" Version =" 17.14.15 " />
4848 <PackageVersion Include =" ReferenceTrimmer" Version =" 3.3.1" />
4949 <PackageVersion Include =" SonarAnalyzer.CSharp" Version =" 8.56.0.67649" />
5050 <PackageVersion Include =" StyleCop.Analyzers.Unstable" Version =" 1.2.0.556" />
Original file line number Diff line number Diff line change @@ -118,7 +118,9 @@ public void Dispose()
118118
119119 _disposed = true ;
120120
121- StopAsync ( ) . ConfigureAwait ( false ) . GetAwaiter ( ) . GetResult ( ) ;
121+ #pragma warning disable VSTHRD002 // Avoid problematic synchronous waits
122+ StopAsync ( ) . GetAwaiter ( ) . GetResult ( ) ;
123+ #pragma warning restore VSTHRD002
122124 _host . Dispose ( ) ;
123125 }
124126}
You can’t perform that action at this time.
0 commit comments