He said to me, “I expect you to attend the function.”

He said to me, “I expect you to attend the function.”

A. He told me that he had expected me to attend the function.
B. He told me that he expected me to attended the function.
C. He told me that he expected me to have attended the function.
D. He told me that he expected me to attend the function.