Create a new tool which converts method calls from passing individual arguments, to passing a struct/record/class, then refactoring all usages of the caller.
Before:
void MyFunction(bool arg1, string arg2, CustomObject arg3) {
...
}
MyFunction(true, "Hello World!", new CustomObject());
After:
void MyFunction(MyFuncArgs args) {
...
}
MyFunction(new MyFuncArgs(true, "Hello World!", new CustomObject());
Create a new tool which converts method calls from passing individual arguments, to passing a struct/record/class, then refactoring all usages of the caller.
Before:
After: