I've seen this if a subclass of this class or a form with an instance of this class was recently modified before doing the build. The parent class is kept in memory, so it cannot be recompiled.
Issue a CLEAR ALL before building or recompiling to make sure it's removed from memory.
HTH
Insanity: Doing the same thing over and over and expecting different results.