NightOwl888/J2N

Structural Equality: Support additional collection types that are identifiable as List, Set, or Dictionary

Opened this issue · 0 comments

Currently, we only support IList<T>, ISet<T> and IDictionary<TKey, TValue> to identify collections from the BCL when comparing for structural equality. There are other types that should be included for completion, and should be comparable among similar interface groups of List, Set, or Dictionary.

List

  • IReadOnlyList<T>
  • IList

Set

  • IReadOnlySet<T>

Dictionary

  • IReadOnlyDictionary<T>
  • IDictionary