public override bool Equals()

in tool/TeamCity.Docker/Generic/Graph.cs [118:137]


        public override bool Equals(object obj)
        {
            if (ReferenceEquals(null, obj))
            {
                return false;
            }

            if (ReferenceEquals(this, obj))
            {
                return true;
            }

            if (obj.GetType() != GetType())
            {
                return false;
            }

            var other = (Graph<TNode, TLink>) obj;
            return _nodes.SetEquals(other._nodes) && _links.SetEquals(other._links);
        }