/// <inheritdoc/> public override int GetHashCode() { var hashCode = new HashCodeBuilder(); hashCode.Add(Name, StringComparer.OrdinalIgnoreCase); hashCode.Add(Value); return(hashCode.ToHashCode()); }
public override int GetHashCode() { var hashCode = new Azure.Core.HashCodeBuilder(); if (Name != null) { hashCode.Add(Name, System.StringComparer.Ordinal); } hashCode.Add(Size); return(hashCode.ToHashCode()); }