3 instantiations of ExistingParameterViewModel
Microsoft.VisualStudio.LanguageServices (3)
ChangeSignature\ChangeSignatureDialogViewModel.cs (3)
71
_thisParameter = new
ExistingParameterViewModel
(this, parameters.ThisParameter, initialDisplayIndex++);
82
_paramsParameter = new
ExistingParameterViewModel
(this, parameters.ParamsParameter, initialDisplayIndex++);
153
list.Add(new
ExistingParameterViewModel
(this, existingParameter, initialIndex));
6 references to ExistingParameterViewModel
Microsoft.VisualStudio.LanguageServices (5)
ChangeSignature\ChangeSignatureDialogViewModel.cs (5)
33
private readonly
ExistingParameterViewModel
? _thisParameter;
38
private readonly
ExistingParameterViewModel
? _paramsParameter;
382
case
ExistingParameterViewModel
existingParameter:
497
!_parametersWithoutDefaultValues.OfType<
ExistingParameterViewModel
>().Select(p => p.ParameterSymbol).SequenceEqual(_originalParameterConfiguration.ParametersWithoutDefaultValues.Cast<ExistingParameter>().Select(p => p.Symbol)) ||
498
!_parametersWithDefaultValues.OfType<
ExistingParameterViewModel
>().Select(p => p.ParameterSymbol).SequenceEqual(_originalParameterConfiguration.RemainingEditableParameters.Cast<ExistingParameter>().Select(p => p.Symbol));
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
ChangeSignature\ChangeSignatureViewModelTests.vb (1)
398
Assert.Equal(expected, DirectCast(finalParameterList(index),
ExistingParameterViewModel
).ParameterSymbol)