http://stackoverflow.com/questions/154109/custom-compiler-warnings and
http://stackoverflow.com/questions/968249/c-create-custom-warning-in-visual-studio-if-certain-method-is-used-in-source-co
haven't helped as they deal with code that is under the author's control.
We are using a 3rd party suite of UI controls (DevExpress) in our software and I want to generate a warning when someone uses MessageBox.Show("blah");
instead of XtraMessageBox.Show("blah");
Is there a way to do that?
Thank you