public override bool Equals (object obj) { if (obj == null || !(obj is Attribute)) return false; // // This is needed because Attribute.Equals does a deep // compare. Ran into this with vbnc // return ValueType.DefaultEquals (this, obj); }