When ___, he denied ___ anything illegal.( )

When ___, he denied ___ anything illegal.( )

A.questioned, doing

B.being questioned, doing

C.questioning, doing

D.questioning, having done

正确答案是B