Custom Warnings

Hi,

I am looking to add some kind of custom resharper warning when in the code I see some code like this mentioned below.

ThreadPool.QueueUserWorkItem

And to disable the warning when developer has taken corrective action. Something like adding #pragma.

Earlier I haven't done any enhancment with resharper. Any tips.

Cheers,
Bhavesh

1 comment
Comment actions Permalink

Hi Bhavesh,

I think this should be possible. AddOn like "Agent Smith" or "StyleCop for ReSharper" provide own rules with automatic solutions. I think they use the ReSharper API.

But until now I was satisfied with the provides rules ;) So you will need to have a further look into the API.

Ciao
Susanne

0

Please sign in to leave a comment.