public override bool Equals(object obj) { if (obj == this) { return(true); } DesignOnlyAttribute attribute = obj as DesignOnlyAttribute; return((attribute != null) && (attribute.isDesignOnly == this.isDesignOnly)); }
public override bool Equals(object obj) { if (obj == this) { return(true); } DesignOnlyAttribute other = obj as DesignOnlyAttribute; return((other != null) && other.isDesignOnly == isDesignOnly); }