public override int GetHashCode() { unchecked { var hashCode = (int)Type; hashCode = (hashCode * 397) ^ (Lex != null ? Lex.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Line; hashCode = (hashCode * 397) ^ Col; return(hashCode); } }