3 writes to _domainIndex
System.Windows.Forms (3)
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (3)
227_domainIndex = matchIndex; 391_domainIndex = index; 485_domainIndex = matchIndex;
15 references to _domainIndex
System.Windows.Forms (15)
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (12)
100return _domainIndex; 221matchIndex = MatchIndex(Text, false, _domainIndex); 233if (_domainIndex < _domainItems.Count - 1) 235SelectIndex(_domainIndex + 1); 253return MatchIndex(text, complete, _domainIndex); 353int matchIndex = MatchIndex(new string(character), false, _domainIndex + 1); 392if (_domainIndex >= 0) 394_stringValue = _domainItems[_domainIndex]!.ToString()!; 403Debug.Assert(_domainIndex >= 0 || UserEdit, $"UserEdit should be true when domainIndex < 0 {UserEdit}"); 479matchIndex = MatchIndex(Text, false, _domainIndex); 491if (_domainIndex > 0) 493SelectIndex(_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)