/// </summary>
#if NET_2_0
[SerializableAttribute]
- [XmlSchemaProvider ("GetSchema")]
+ [XmlSchemaProvider ("GetXsdType")]
#endif
public struct SqlBinary : INullable, IComparable
#if NET_2_0
{
if (!(value is SqlBinary))
return false;
- else if (this.IsNull && ((SqlBinary)value).IsNull)
- return true;
+ else if (this.IsNull)
+ return ((SqlBinary)value).IsNull;
else if (((SqlBinary)value).IsNull)
return false;
else