Premier Mike Baird has been forced to declare that he has ''never accepted an illegal donation'' after repeatedly failing to give the guarantee in Parliament, as another government MP moved to the crossbench over allegations of receiving tainted funds.

Swansea MP Garry Edwards announced on Thursday he had stood aside from the parliamentary Liberal Party following evidence at a corruption inquiry that he had received money from property developer Jeff McCloy, a banned donor, before the 2011 election.

Premier Mike Baird said after question time that he had never accepted an illegal donation. Credit:Peter Rae

Mr Edwards issued a statement saying he looked forward to ''an early opportunity to clear my name''.

During question time, shadow treasurer Michael Daley asked Mr Baird to ''guarantee that no other Liberal MP, including you, received illegal donations at the last election''.