21 references to ToListOfParameters
Microsoft.CodeAnalysis.CSharp.Features (3)
ChangeSignature\CSharpChangeSignatureService.cs (3)
358if (signaturePermutation.UpdatedConfiguration.ToListOfParameters().Any()) 783var originalParameters = updatedSignature.OriginalConfiguration.ToListOfParameters(); 784var reorderedParameters = updatedSignature.UpdatedConfiguration.ToListOfParameters();
Microsoft.CodeAnalysis.EditorFeatures (1)
Intents\DeleteParameterIntentProvider.cs (1)
51var parameters = context.ParameterConfiguration.ToListOfParameters();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
ChangeSignature\TestChangeSignatureOptionsService.cs (1)
34var list = parameters.ToListOfParameters();
Microsoft.CodeAnalysis.Features (14)
ChangeSignature\AbstractChangeSignatureService.cs (8)
555if (!arguments[i].IsNamed && removedParams && i >= updatedSignature.UpdatedConfiguration.ToListOfParameters().Length) 560if (!arguments[i].IsNamed || updatedSignature.UpdatedConfiguration.ToListOfParameters().Any(static (p, arg) => p.Name == arg.arguments[arg.i].GetName(), (arguments, i))) 577if (realParameters.Length > updatedSignature.OriginalConfiguration.ToListOfParameters().Length) 579var originalConfigurationParameters = updatedSignature.OriginalConfiguration.ToListOfParameters(); 580var updatedConfigurationParameters = updatedSignature.UpdatedConfiguration.ToListOfParameters(); 678var originalParameters = updatedSignature.OriginalConfiguration.ToListOfParameters(); 679var reorderedParameters = updatedSignature.UpdatedConfiguration.ToListOfParameters(); 767var updatedParameters = signaturePermutation.UpdatedConfiguration.ToListOfParameters();
ChangeSignature\ParameterConfiguration.cs (1)
70=> Create(ToListOfParameters().OfType<ExistingParameter>().ToImmutableArray<Parameter>(), ThisParameter != null, selectedIndex: 0);
ChangeSignature\SignatureChange.cs (5)
27var originalParameterList = originalConfiguration.ToListOfParameters(); 28var updatedParameterList = updatedConfiguration.ToListOfParameters(); 49if (parameterIndex >= OriginalConfiguration.ToListOfParameters().Length) 62var originalListOfParameters = OriginalConfiguration.ToListOfParameters(); 63var updatedListOfParameters = UpdatedConfiguration.ToListOfParameters();
Microsoft.CodeAnalysis.VisualBasic.Features (2)
ChangeSignature\VisualBasicChangeSignatureService.vb (2)
636Dim originalParameters = updatedSignature.OriginalConfiguration.ToListOfParameters() 637Dim reorderedParameters = updatedSignature.UpdatedConfiguration.ToListOfParameters()