7 writes to SelectedIndex
Microsoft.VisualStudio.LanguageServices (4)
ChangeSignature\ChangeSignatureDialogViewModel.cs (4)
96this.SelectedIndex = 1; 100this.SelectedIndex = null; 105this.SelectedIndex = selectedIndex; 486SelectedIndex += delta;
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
ChangeSignature\ChangeSignatureViewModelTests.vb (3)
43viewModel.SelectedIndex = -1 182viewModel.SelectedIndex = 1 288viewModel.SelectedIndex = 1
14 references to SelectedIndex
Microsoft.VisualStudio.LanguageServices (14)
ChangeSignature\ChangeSignatureDialogViewModel.cs (14)
223if (!SelectedIndex.HasValue) 228index = SelectedIndex.Value; 426if (!SelectedIndex.HasValue) 431var index = SelectedIndex.Value; 446if (!SelectedIndex.HasValue) 451var index = SelectedIndex.Value; 466var index = SelectedIndex!.Value; 475var index = SelectedIndex!.Value; 564return string.Format(ServicesVSResources.Move_0_above_1, AllParameters[SelectedIndex!.Value].ShortAutomationText, AllParameters[SelectedIndex!.Value - 1].ShortAutomationText); 577return string.Format(ServicesVSResources.Move_0_below_1, AllParameters[SelectedIndex!.Value].ShortAutomationText, AllParameters[SelectedIndex!.Value + 1].ShortAutomationText); 590return string.Format(ServicesVSResources.Remove_0, AllParameters[SelectedIndex!.Value].ShortAutomationText); 603return string.Format(ServicesVSResources.Restore_0, AllParameters[SelectedIndex!.Value].ShortAutomationText);