Ejemplo n.º 1
0
 /// <summary>
 /// Gets the hash code for the tag
 /// </summary>
 /// <returns>The hashcode</returns>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ StartPosition;
         hashCode = (hashCode * 397) ^ EndPosition;
         hashCode = (hashCode * 397) ^ (SectionName?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }