ChangeSignature\CSharpChangeSignatureService.cs (25)
310var updatedParameters = UpdateDeclaration(method.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax);
316var updatedParameters = UpdateDeclaration(typeWithParameters.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax);
322var updatedParameters = UpdateDeclaration(localFunction.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax);
328var updatedParameters = UpdateDeclaration(constructor.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax);
334var updatedParameters = UpdateDeclaration(indexer.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax);
340var updatedParameters = UpdateDeclaration(delegateDeclaration.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax);
352var updatedParameters = UpdateDeclaration(anonymousMethod.ParameterList.Parameters, signaturePermutation, CreateNewParameterSyntax);
360var updatedParameters = UpdateDeclaration(SeparatedList(new[] { lambda.Parameter }), signaturePermutation, CreateNewParameterSyntax);
382var updatedParameters = UpdateDeclaration(
398var newParameters = UpdateDeclaration(nameMemberCref.Parameters.Parameters, signaturePermutation, CreateNewCrefParameterSyntax);
514var newArguments = PermuteArgumentList(
549var newArguments = PermuteAttributeArgumentList(
655private SeparatedSyntaxList<T> UpdateDeclaration<T>(
656SeparatedSyntaxList<T> list,
680private async Task<SeparatedSyntaxList<SyntaxNode>> AddNewArgumentsToListAsync(
682SeparatedSyntaxList<SyntaxNode> newArguments,
683SeparatedSyntaxList<SyntaxNode> originalArguments,
692var newArgumentList = await AddNewArgumentsToListAsync(
703private SeparatedSyntaxList<AttributeArgumentSyntax> PermuteAttributeArgumentList(
705SeparatedSyntaxList<AttributeArgumentSyntax> arguments,
719private SeparatedSyntaxList<ArgumentSyntax> PermuteArgumentList(
721SeparatedSyntaxList<ArgumentSyntax> arguments,
739private ImmutableArray<T> TransferLeadingWhitespaceTrivia<T, U>(IEnumerable<T> newArguments, SeparatedSyntaxList<U> oldArguments)
892protected override SyntaxNode CreateExplicitParamsArrayFromIndividualArguments(SeparatedSyntaxList<SyntaxNode> newArguments, int indexInExistingList, IParameterSymbol parameterSymbol)
897var listOfArguments = SeparatedList(newArguments.Skip(indexInExistingList).Select(a => ((ArgumentSyntax)a).Expression), newArguments.GetSeparators().Skip(indexInExistingList));