2 writes to _maxRepeat
System.Speech (2)
Recognition\SrgsGrammar\SrgsItem.cs (2)
78_minRepeat = _maxRepeat = count; 98_maxRepeat = maxRepeat;
13 references to _maxRepeat
System.Speech (13)
Recognition\SrgsGrammar\SrgsItem.cs (13)
147return _maxRepeat == NotSet ? 1 : _maxRepeat; 188if (_minRepeat == _maxRepeat) 196else if (_maxRepeat == int.MaxValue || _maxRepeat == NotSet) 205writer.WriteAttributeString("repeat", string.Format(CultureInfo.InvariantCulture, "{0}-{1}", minRepeat, _maxRepeat)); 239if (_minRepeat != _maxRepeat || _maxRepeat != NotSet) 242if (_minRepeat == _maxRepeat) 246else if (_maxRepeat == int.MaxValue || _maxRepeat == NotSet) 255sb.Append(string.Format(CultureInfo.InvariantCulture, "{0},{1}", minRepeat, _maxRepeat)); 330_maxRepeat = item._maxRepeat;