1 write to _state
System.Speech (1)
Synthesis\PromptBuilder.cs (1)
1010
_state
= state;
8 references to _state
System.Speech (8)
Synthesis\PromptBuilder.cs (8)
253
if (stackElement.
_state
!= 0)
255
if ((stackElement.
_state
& (SsmlState.StyleEmphasis | SsmlState.StyleProsody)) == 0)
263
if (stackElement.
_state
== (SsmlState.StyleEmphasis | SsmlState.StyleProsody))
343
if (_elementStack.Pop().
_state
!= SsmlState.Voice)
382
if (_elementStack.Pop().
_state
!= SsmlState.Paragraph)
419
if (_elementStack.Pop().
_state
!= SsmlState.Sentence)
776
SsmlState state = _elementStack.Peek().
_state
;
958
throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, SR.Get(SRID.PromptBuilderInvalidElement), currentElement.ToString(), stackElement.
_state
.ToString()));