public override bool Equals(object other) { if (other == this) { return(true); } if (other is TypeAttribute) { TypeAttribute o = (TypeAttribute)other; return(this.type == null ? o.type == null : this.type.Equals(o.type, StringComparison.Ordinal)); } return(false); }
public override void CopyTo(IAttribute target) { TypeAttribute t = (TypeAttribute)target; t.type = type; }