Custom search pattern - Force ending in class/interface name


is it possible to define a rule that will check if an interface which is decorated with an certain attribute has a suffix, for example having:

public interface IMath

should be 

public interface IMathServiceContract

Every interface decorated with "ServiceContract" should end with "ServiceContract".




1 comment
Official comment

Hello Adrian,

Here's similar feature request -

You are welcome to comment or vote for it.

Thank you.

Please sign in to leave a comment.