The ConcurrentDictionary class can now be used as it inherits from IReadOnlyDictionary in .NET standard 2.0