コード例 #1
0
 /// <summary>
 /// Gets the hash code for this object
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(OperatorString.GetHashCode() ^ ExecuteOperator.GetHashCode() ^ Side.GetHashCode());
 }
コード例 #2
0
ファイル: BinaryOperator.cs プロジェクト: pcluddite/tbasic
 /// <summary>
 /// Gets the hash code for this object
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(OperatorString.GetHashCode() ^ Precedence ^ ExecuteOperator.GetHashCode());
 }