public override bool Equals(object obj) { if (obj == this) { return(true); } DesignerCategoryAttribute attribute = obj as DesignerCategoryAttribute; return((attribute != null) && (attribute.category == this.category)); }
/// <devdoc> /// </devdoc> /// <devdoc> /// </devdoc> /// <internalonly/> /// <internalonly/> public override bool Equals(object obj) { if (obj == this) { return(true); } DesignerCategoryAttribute other = obj as DesignerCategoryAttribute; return((other != null) && other.category == category); }