You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unnecessary reference to Microsoft.Bcl.AsyncInterfaces for ValueTask usage #61
In commit f986673, support for .NET Standard 2.0+ and .NET Framework 4.6.1+ was added by introducing package references to Microsoft.Bcl.AsyncInterfaces in ZstdSharp.csproj.
However, if the intent is only to use the ValueTask struct, adding Microsoft.Bcl.AsyncInterfaces is not necessary; adding System.Threading.Tasks.Extensions alone should be sufficient.
After inspecting the compiled DLL's manifest, there is no assembly reference to Microsoft.Bcl.AsyncInterfaces.dll.
Therefore, the Microsoft.Bcl.AsyncInterfaces package reference appears to be removable and can be safely replaced (or simply omitted) in favor of System.Threading.Tasks.Extensions.
Activity