public bool Equals(TypeDoc other) => other != null && Name == other.Name && Meta == other.Meta && TypeParameters.OrderBy(p => p.Name).SequenceEqual(other.TypeParameters.OrderBy(p => p.Name)) && Fields.OrderBy(p => p.Key).SequenceEqual(other.Fields.OrderBy(p => p.Key)) && Properties.OrderBy(p => p.Key).SequenceEqual(other.Properties.OrderBy(p => p.Key)) && Events.OrderBy(p => p.Key).SequenceEqual(other.Events.OrderBy(p => p.Key)) && Methods.OrderBy(p => p.Key).SequenceEqual(other.Methods.OrderBy(p => p.Key));
public bool Equals(MethodDoc other) => !ReferenceEquals(other, null) && Name == other.Name && Meta == other.Meta && Parameters.OrderBy(p => p.Name).SequenceEqual(other.Parameters.OrderBy(p => p.Name)) && TypeParameters.OrderBy(p => p.Name).SequenceEqual(other.TypeParameters.OrderBy(p => p.Name)) && Exceptions.SequenceEqual(other.Exceptions);