Created RemovedToolProviderConstructor Recipe:
For the following rule:
What's your motivation?
This recipe checks for a specific method pattern and converts it to a static call.The existing recipe ChangeMethodTargetToStatic did not work in this case since it doesn't meet the criteria of the method should not be static and should not be of the SameReceiverType
Anything in particular you'd like reviewers to focus on?
@cjobinabo
Anyone you would like to review specifically?
Have you considered any alternatives or workarounds?
Any additional context
Checklist
[x] I've added unit tests to cover both positive and negative cases
What's changed?
Created RemovedToolProviderConstructor Recipe: For the following rule:
What's your motivation?
This recipe checks for a specific method pattern and converts it to a static call.The existing recipe ChangeMethodTargetToStatic did not work in this case since it doesn't meet the criteria of the method should not be static and should not be of the SameReceiverType
Anything in particular you'd like reviewers to focus on?
@cjobinabo
Anyone you would like to review specifically?
Have you considered any alternatives or workarounds?
Any additional context
Checklist