3 writes to _domainIndex
System.Windows.Forms (3)
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (3)
225_domainIndex = matchIndex; 389_domainIndex = index; 483_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); 351int matchIndex = MatchIndex(new string(character), false, _domainIndex + 1); 390if (_domainIndex >= 0) 392_stringValue = _domainItems[_domainIndex]!.ToString()!; 401Debug.Assert(_domainIndex >= 0 || UserEdit, $"UserEdit should be true when domainIndex < 0 {UserEdit}"); 477matchIndex = MatchIndex(Text, false, _domainIndex); 489if (_domainIndex > 0) 491SelectIndex(_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)