Is anyone aware of any attribute (analogous to [Obsolete]) or similar mechanism to ask the compiler to raise a warning if a particular class is referenced (at design-time) by other projects? Note I cannot make it 'internal' because I'm databinding to System.* (or 3rd-party) controls so they have to be public.
Note I use [Obsolete] as an analogy, the class is not obsolete. I just want compiler warnings for out-of-project design-time references.