3 writes to _domainIndex
System.Windows.Forms (3)
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (3)
225_domainIndex = matchIndex; 395_domainIndex = index; 489_domainIndex = matchIndex;
15 references to _domainIndex
System.Windows.Forms (15)
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (12)
94return _domainIndex; 219matchIndex = MatchIndex(Text, false, _domainIndex); 231if (_domainIndex < _domainItems.Count - 1) 233SelectIndex(_domainIndex + 1); 251return MatchIndex(text, complete, _domainIndex); 355int matchIndex = MatchIndex(new string(character), false, _domainIndex + 1); 396if (_domainIndex >= 0) 398_stringValue = _domainItems[_domainIndex]!.ToString()!; 407Debug.Assert(_domainIndex >= 0 || UserEdit, $"UserEdit should be true when domainIndex < 0 {UserEdit}"); 483matchIndex = MatchIndex(Text, false, _domainIndex); 495if (_domainIndex > 0) 497SelectIndex(_domainIndex - 1);
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainUpDownItemCollection.cs (3)
88if (item < _owner._domainIndex) 91_owner.SelectIndex(_owner._domainIndex - 1); 93else if (item == _owner._domainIndex)