using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; namespace Codelyzer.Analysis.Model { [JsonArray] public class UstList : List { public UstList() { } public UstList(IEnumerable collection) : base(collection) { } public UstList(int capacity) : base(capacity) { } public override bool Equals(object obj) { if (obj is UstList) { return Equals((UstList)obj); } else return false; } public bool Equals(UstList compareList) { if (compareList == null) return false; return compareList.SequenceEqual(this); } public override int GetHashCode() { return HashCode.Combine(this); } } }