Beispiel #1
0
 public override int GetHashCode()
 {
     return(CurrentState.GetHashCode() ^ NextState.GetHashCode() ^ Symbol.GetHashCode());
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     //tratativa para valores nullos, usa o max value
     return(PreviousState?.GetHashCode() ?? 1 >> NextState?.GetHashCode() ?? 1);
 }