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++); 153list.Add(new ExistingParameterViewModel(this, existingParameter, initialIndex));
6 references to ExistingParameterViewModel
Microsoft.VisualStudio.LanguageServices (5)
ChangeSignature\ChangeSignatureDialogViewModel.cs (5)
33private readonly ExistingParameterViewModel? _thisParameter; 38private readonly ExistingParameterViewModel? _paramsParameter; 382case 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)
398Assert.Equal(expected, DirectCast(finalParameterList(index), ExistingParameterViewModel).ParameterSymbol)