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
When MoreLinq is using with net472 target, it gives an error:
CS0121 The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.ToHashSet(System.Collections.Generic.IEnumerable)' and 'MoreLinq.MoreEnumerable.ToHashSet(System.Collections.Generic.IEnumerable)'
Thank you for the suggestion! However, given the current stage of .NET's evolution, it's quite common for developers to support code across at least two frameworks. Most would prefer do not write specific code just to handle some minor differences.
Since there's already a dedicated net8 target, I believe many others would also appreciate adding a dedicated net472 target. It’s more likely that developers would prefer using targeted netX framework versions rather than relying on a generic netstandard2 artifact.
When MoreLinq is using with net472 target, it gives an error:
CS0121 The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.ToHashSet(System.Collections.Generic.IEnumerable)' and 'MoreLinq.MoreEnumerable.ToHashSet(System.Collections.Generic.IEnumerable)'
https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.tohashset?view=netstandard-2.1
The text was updated successfully, but these errors were encountered: