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