public static void LeftRecursionCycles( ICollection cycles ) { GetErrorState().errors++; Message msg = new LeftRecursionCyclesMessage( cycles ); GetErrorState().errorMsgIDs.Add( msg.msgID ); GetErrorListener().Error( msg ); }