Esempio n. 1
0
 public override bool Equals(object obj)
 {
     return(!(obj == null || !(obj is Cell cell)) &&
            TokenString.Equals(cell.TokenString, StringComparison.Ordinal));
 }
Esempio n. 2
0
 public override bool Equals(object obj)
 {
     return(!(obj == null || !(obj is Cell)) &&
            TokenString.Equals(((Cell)obj).TokenString));
 }