public bool Equals()

in DTDLValidator/DTDLValidator/Interactive/LoadCommand.cs [85:98]


            public bool Equals([AllowNull] DTInterfaceInfo x, [AllowNull] DTInterfaceInfo y)
            {
                if (ReferenceEquals(x, y))
                {
                    return true;
                }

                if (ReferenceEquals(x, null) || ReferenceEquals(y, null))
                {
                    return false;
                }

                return x.Id == y.Id;
            }