Custom compiler errors

  • Thread starter Thread starter Erik
  • Start date Start date
E

Erik

Hello,

I will prevent other developers to the function MessageBox.Show.
I've written a custom function for this.

Is there a possibility to add a compiler message, if a developer use
MessageBox.Show?

thx
 
Erik said:
Hello,

I will prevent other developers to the function MessageBox.Show.
I've written a custom function for this.

Is there a possibility to add a compiler message, if a developer use
MessageBox.Show?

You can probably get an FxCop rule to do that.
 
Back
Top