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
In Visual Studio 2017 deleting the hidden .vs folder in the resolved this issue for me.