9 writes to _fragmentState
System.Speech (9)
Internal\Synthesis\SSmlParser.cs (9)
228engine.StartProcessUnknownAttributes(ssmlAttributes._voice, ref ssmlAttributes._fragmentState, sElement, extraAttributes); 256engine.ProcessUnknownElement(ssmlAttributes._voice, ref ssmlAttributes._fragmentState, reader); 266engine.ProcessText(reader.Value, ssmlAttributes._voice, ref ssmlAttributes._fragmentState, GetColumnPosition(reader), fIgnore); 289engine.EndProcessUnknownAttributes(ssmlAttributes._voice, ref ssmlAttributes._fragmentState, sElement, extraAttributes); 420engine.ProcessBreak(ssmlAttributes._voice, ref ssmlAttributes._fragmentState, (EmphasisBreak)ssmlAttributes._fragmentState.Emphasis, ssmlAttributes._fragmentState.Duration, fIgnore); 589engine.ProcessMark(ssmlAttributes._voice, ref ssmlAttributes._fragmentState, sName, fIgnore); 690ssmlAttributes._voice = engine.ProcessTextBlock(isParagraph, ssmlAttributes._voice, ref ssmlAttributes._fragmentState, culture, fNewCulture, ssmlAttributes._gender, ssmlAttributes._age); 823engine.ProcessPhoneme(ref ssmlAttributes._fragmentState, alphabet, sPh, aPhoneIds); 1032engine.ProcessSub(sAlias, ssmlAttributes._voice, ref ssmlAttributes._fragmentState, textPosition, fIgnore);
26 references to _fragmentState
System.Speech (26)
Internal\Synthesis\SSmlParser.cs (26)
200ssmlAttributes._fragmentState.LangId = culture.LCID; 365ssmlAttributes._fragmentState.Action = TtsEngineAction.Silence; 366ssmlAttributes._fragmentState.Emphasis = (int)EmphasisBreak.Default; 382ssmlAttributes._fragmentState.Emphasis = (int)EmphasisBreak.None; 383ssmlAttributes._fragmentState.Duration = ParseCSS2Time(sTime); 384isInvalidAttribute = ssmlAttributes._fragmentState.Duration < 0; 392ssmlAttributes._fragmentState.Duration = 0; 401if (ssmlAttributes._fragmentState.Emphasis != (int)EmphasisBreak.None) 403ssmlAttributes._fragmentState.Emphasis = (int)s_breakEmphasis[pos]; 420engine.ProcessBreak(ssmlAttributes._voice, ref ssmlAttributes._fragmentState, (EmphasisBreak)ssmlAttributes._fragmentState.Emphasis, ssmlAttributes._fragmentState.Duration, fIgnore); 498ssmlAttributes._fragmentState.Emphasis = (int)EmphasisWord.Moderate; 520ssmlAttributes._fragmentState.Emphasis = (int)s_emphasisWord[pos]; 535engine.ProcessEmphasis(!string.IsNullOrEmpty(sLevel), (EmphasisWord)ssmlAttributes._fragmentState.Emphasis); 588ssmlAttributes._fragmentState.Action = TtsEngineAction.Bookmark; 689bool fNewCulture = culture != null && culture.LCID != ssmlAttributes._fragmentState.LangId; 693ssmlAttributes._fragmentState.LangId = culture!.LCID; 786aPhoneIds = PhonemeConverter.ConvertPronToId(sPh, ssmlAttributes._fragmentState.LangId).ToCharArray(); 811aPhoneIds = PhonemeConverter.ConvertPronToId(sPh, ssmlAttributes._fragmentState.LangId).ToCharArray(); 850Prosody prosody = ssmlAttributes._fragmentState.Prosody != null ? ssmlAttributes._fragmentState.Prosody.Clone() : new Prosody(); 903ssmlAttributes._fragmentState.Prosody = prosody; 973ssmlAttributes._fragmentState.SayAs = sayAs; 1193culture ??= new CultureInfo(ssmlAttributes._fragmentState.LangId); 1194bool fNewCulture = culture.LCID != ssmlAttributes._fragmentState.LangId; 1196ssmlAttributes._fragmentState.LangId = culture.LCID;