CSharpParameterGenerator refactored.