public bool Equals(XamlType other) { // It does not compare XamlSchemaContext. return(!IsNull(other) && UnderlyingType == other.UnderlyingType && Name == other.Name && PreferredXamlNamespace == other.PreferredXamlNamespace && TypeArguments.ListEquals(other.TypeArguments)); }