public override bool Equals(object obj) { if (obj == this) { return true; } else { if (!(obj is Antlr4.Runtime.Atn.LexerModeAction)) { return false; } } return mode == ((Antlr4.Runtime.Atn.LexerModeAction)obj).mode; }