3 writes to _defaultVoice
System.Speech (3)
Internal\Synthesis\VoiceSynthesis.cs (3)
1435_defaultVoice = null; 1446_defaultVoice = GetEngineWithVoice(null, new VoiceInfo(defaultVoice), defaultVoice.TokenName(), defaultVoice.Culture, gender, age, 1, switchContext); 1456_defaultVoice = GetEngineWithVoice(null, defaultInfo, null, CultureInfo.CurrentUICulture, VoiceGender.NotSet, VoiceAge.NotSet, 1, switchContext);
6 references to _defaultVoice
System.Speech (6)
Internal\Synthesis\VoiceSynthesis.cs (6)
618if (_currentVoice == _defaultVoice && value == null) 1428[MemberNotNull(nameof(_defaultVoice))] 1452if (_defaultVoice == null) 1459_currentVoice = _defaultVoice; 1462return _defaultVoice; 1780[MemberNotNullWhen(true, nameof(_defaultVoice))]