4 writes to SelectedIndex
Microsoft.VisualStudio.LanguageServices (4)
ChangeSignature\ChangeSignatureDialogViewModel.cs (4)
94this.SelectedIndex = 1; 98this.SelectedIndex = null; 103this.SelectedIndex = selectedIndex; 469SelectedIndex += delta;
18 references to SelectedIndex
Microsoft.VisualStudio.LanguageServices (18)
ChangeSignature\ChangeSignatureDialogViewModel.cs (18)
210if (!SelectedIndex.HasValue) 215index = SelectedIndex.Value; 227if (AllParameters[SelectedIndex!.Value] is AddedParameterViewModel) 229var parameterToRemove = AllParameters[SelectedIndex!.Value]; 238AllParameters[SelectedIndex!.Value].IsRemoved = true; 247AllParameters[SelectedIndex!.Value].IsRemoved = false; 409if (!SelectedIndex.HasValue) 414var index = SelectedIndex.Value; 429if (!SelectedIndex.HasValue) 434var index = SelectedIndex.Value; 449var index = SelectedIndex!.Value; 458var index = SelectedIndex!.Value; 543return string.Format(ServicesVSResources.Move_0_above_1, AllParameters[SelectedIndex!.Value].ShortAutomationText, AllParameters[SelectedIndex!.Value - 1].ShortAutomationText); 556return string.Format(ServicesVSResources.Move_0_below_1, AllParameters[SelectedIndex!.Value].ShortAutomationText, AllParameters[SelectedIndex!.Value + 1].ShortAutomationText); 569return string.Format(ServicesVSResources.Remove_0, AllParameters[SelectedIndex!.Value].ShortAutomationText); 582return string.Format(ServicesVSResources.Restore_0, AllParameters[SelectedIndex!.Value].ShortAutomationText);