public override bool Equals(System.Object obj) { XmlSoundReference s = obj as XmlSoundReference; if ((object)s == null) { return false; } return this.Equals(s); }