The name "" does not exist in the current context

Hey guys. So I am running into a problem where when I am trying to build and run my game, I get an error in console saying " The name `Selection’(“Undo”) does not exist in the current context". Would appreciate some help. Note: I updated unity to the last patch and I restarted my pc, none of which solved the problem.

This is an editor script and not a runtime script. It need to be placed in a subfolder called “editor”.