Custom Code Inspections

I'm relatively new to ReSharper but completely new to customizations, so hoping someone could provide some guidance here.  Apologies if I use incorrect ReSharper terminology here…

I'm interested in creating a custom Code Inspection rule which will do this:

1) Only apply the rule to a specific class in my solution.
2) Check to see if that class actually inherits from a specific base class.
3) Check to see if public methods in #2 actually extend methods defined in #1.
4) Check to see if the method in #3 are coded to be async.

I hope this makes sense.  Any thoughts or feedback is greatly appreciated!
Thanks!

 

 

 

 

 

0
3 comments

Hello,

thank you for contacting us.

Unfortunately, it is not possible to customize the code inspection for such feature.

You are welcome to create a plugin for it.

Thank you!

0

Thank you for the prompt response!

0
Hello,
please feel free to contact us in case of any problems or questions.
Thank you!
0

Please sign in to leave a comment.