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)
147
return
_maxRepeat
== NotSet ? 1 :
_maxRepeat
;
188
if (_minRepeat ==
_maxRepeat
)
196
else if (
_maxRepeat
== int.MaxValue ||
_maxRepeat
== NotSet)
205
writer.WriteAttributeString("repeat", string.Format(CultureInfo.InvariantCulture, "{0}-{1}", minRepeat,
_maxRepeat
));
239
if (_minRepeat !=
_maxRepeat
||
_maxRepeat
!= NotSet)
242
if (_minRepeat ==
_maxRepeat
)
246
else if (
_maxRepeat
== int.MaxValue ||
_maxRepeat
== NotSet)
255
sb.Append(string.Format(CultureInfo.InvariantCulture, "{0},{1}", minRepeat,
_maxRepeat
));
330
_maxRepeat = item.
_maxRepeat
;