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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top