is it possible to for example use #pragma to raise a custom warning within the VS IDE? I'd need it for a while because there are two classes in this code that contain the very same data but derive from very different classes (Attribute, EventArgs). So if one modified the former class without modifying the latter, the whole system would stop working.
As long as there is no solution, I'd like to raise this custom warning so that everybody trying to start a new build must agree on that they recognized the code smell.