/// <summary> /// Compares this instance to another instance by comparing the string representation of the enumeration value. /// </summary> protected bool Equals(EnumValue other) => string.Equals(Name, other.Name, StringComparison.InvariantCulture);
protected bool Equals(EnumValue other) { return(string.Equals(Name, other.Name)); }