This happens in asp.net middleware now
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
(cherry picked from commit 16e2d130e6a2e7239bcfe92187a7f990f93eff00)
(cherry picked from commit d566c1efd42f9a94c524db311e8fa99bc6e0323f)
(cherry picked from commit 4b0586bd3d1cca4682dee53cc5af5ef1fa66978e)
(cherry picked from commit 5b2affcabbc38d7122b39d3290e2021fdb8afbcc)
- netcore3.0 implements the extenion on IReadOnlyDictionary.
- Dictionary implements both IReadonlyDictionary and IDictionary and
so defining the extenion on both interfaces creates an ambiguous
reference
- IDictionary doesn't inherit from IReadOnlyDictionary
Either we have to add 'using NzbDrone.Common.Extenions;'
separately to resolve the ambiguity or we have to standardaize on only
having the extension on IReadOnlyDictionary.