public override bool Equals(object obj) { if (!(obj is CustomAttributeNamedArgument)) { return(false); } CustomAttributeNamedArgument other = (CustomAttributeNamedArgument)obj; return(other.memberInfo == memberInfo && typedArgument.Equals(other.typedArgument)); }