15. A computer-readable hardware storage medium comprising computer program instructions for modifying an argument list having at least one argument, the program instructions executable by one or more processors to perform actions including: a) receiving a first parameter list and a revised parameter list; b) selectively sorting at least a portion of the argument list based on the revised parameter list; and c) selectively modifying each unnamed argument of the argument list to be a named argument, based on whether another named argument precedes the unnamed argument or whether an index of the unnamed argument matches an index of a corresponding parameter of the revised parameter list.
15. A computer-readable hardware storage medium comprising computer program instructions for modifying an argument list having at least one argument, the program instructions executable by one or more processors to perform actions including: a) receiving a first parameter list and a revised parameter list; b) selectively sorting at least a portion of the argument list based on the revised parameter list; and c) selectively modifying each unnamed argument of the argument list to be a named argument, based on whether another named argument precedes the unnamed argument or whether an index of the unnamed argument matches an index of a corresponding parameter of the revised parameter list. 18. The computer-readable hardware storage medium of claim 15 , the first parameter list and the revised parameter list are included in a source code represented in C#, the actions further comprising if the argument list is ordered based on the first parameter list and omits an optional argument, generating a refactored argument list that is ordered based on the revised parameter list.