Example #1
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         return((StartTag.GetHashCode() * 397) ^ EndTag.GetHashCode());
     }
 }
Example #2
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = 27;
         hash = (13 * hash) + StartTag.GetHashCode();
         hash = (13 * hash) + EndTag.GetHashCode();
         hash = (13 * hash) + TagStartPosition.GetHashCode();
         hash = (13 * hash) + TagEndPosition.GetHashCode();
         hash = (13 * hash) + ContentStartPosition.GetHashCode();
         hash = (13 * hash) + ContentEndPosition.GetHashCode();
         hash = (13 * hash) + Content.GetHashCode();
         hash = (13 * hash) + IsClosed.GetHashCode();
         return(hash);
     }
 }