Example #1
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 17;
         hash = hash * 23 + Unexpected.GetHashCode();
         hash = hash * 23 + EOF.GetHashCode();
         hash = hash * 23 + Expected.GetHashCode();
         hash = hash * 23 + ErrorPos.GetHashCode();
         hash = hash * 23 + Message?.GetHashCode() ?? 0;
         return(hash);
     }
 }