This is driving me crazy.
I have a rather large project that I am trying to modify. I noticed earlier that when I typed DbCommand, visual studio did
DbCommand
I had this problem, and it turns out I was running my console application as a windows application. Switching the output type back to console fixed the issue.