protected bool Equals(CounterMetricName other) { Contract.Requires(other != null); return string.Equals(CounterName, other.CounterName); }