vkhorikov / CSharpFunctionalExtensions

Functional extensions for C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IReadOnlyDictionary.TryFind() not working in .NET 6

Yaevh opened this issue · comments

Version 2.30.0 (specifically #422) changed availability of TryFind(this IDictionary) vs TryFind(this IReadOnlyDictionary). Unfortunately, due to erroneous constraint, TryFind(this IReadOnlyCollection) is not available in .NET 6 (and probably on other platforms), only TryFind(this IDictionary) is. Will submit a fix.