J2N icon indicating copy to clipboard operation
J2N copied to clipboard

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

Open NightOwl888 opened this issue 2 years ago • 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

NightOwl888 avatar Nov 02 '21 01:11 NightOwl888