5 writes to _sRealName
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.cs (4)
553invariant._sRealName = ""; // Name you passed in (ie: en-US, en, or de-DE_phoneb) 784cd._sRealName = cd._sName; 800culture._sRealName = cultureName; 838_sRealName = fallbackCultureName;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Icu.cs (1)
155_sRealName = NormalizeCultureName(_sWindowsName, indexOfExtensions > 0 ? _sRealName.AsSpan(indexOfExtensions) : ReadOnlySpan<char>.Empty, _sRealName, out int collationStart);
42 references to _sRealName
System.Private.CoreLib (42)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.cs (23)
820string cultureName = _sRealName; 903Debug.Assert(_sRealName != null, "[CultureData.CultureName] Expected _sRealName to be populated by already"); 907return _sName is "zh-CHS" or "zh-CHT" ? _sName : _sRealName; 923internal string ParentName => _sParent ??= GetLocaleInfoCore(_sRealName, LocaleStringData.ParentName); 1102NlsGetThreeLetterWindowsLanguageName(_sRealName) : 1103IcuGetThreeLetterWindowsLanguageName(_sRealName); 1147_iGeoId = GlobalizationMode.UseNls ? NlsGetLocaleInfo(LocaleNumberData.GeoId) : IcuGetGeoId(_sRealName); 1230NlsGetConsoleFallbackName(_sRealName) : 1231IcuGetConsoleFallbackName(_sRealName); 1780Debug.Assert(_sRealName != null, "[CultureData.IsRightToLeft] Expected _sRealName to be populated by already"); 1804Debug.Assert(_sRealName != null, "[CultureData.TextInfoName] Expected _sRealName to be populated by already"); 1805return _sRealName; 1816Debug.Assert(_sRealName != null, "[CultureData.SortName] Expected _sRealName to be populated by already"); 1817return _sRealName; 1832_iDefaultAnsiCodePage = GetAnsiCodePage(_sRealName); 1847_iDefaultOemCodePage = GetOemCodePage(_sRealName); 1862_iDefaultMacCodePage = GetMacCodePage(_sRealName); 1877_iDefaultEbcdicCodePage = GetEbcdicCodePage(_sRealName); 1889Debug.Assert(_sRealName != null, "[CultureData.LCID] Expected this.sRealName to be populated already"); 1890_iLanguage = GlobalizationMode.UseNls ? NlsLocaleNameToLCID(_sRealName) : IcuLocaleNameToLCID(_sRealName); 2250Debug.Assert(_sRealName != null); 2251nfi._digitSubstitution = ShouldUseUserOverrideNlsData ? NlsGetLocaleInfo(LocaleNumberData.DigitSubstitution) : IcuGetDigitSubstitution(_sRealName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Icu.cs (8)
115Debug.Assert(_sRealName != null); 119string realNameBuffer = _sRealName; 155_sRealName = NormalizeCultureName(_sWindowsName, indexOfExtensions > 0 ? _sRealName.AsSpan(indexOfExtensions) : ReadOnlySpan<char>.Empty, _sRealName, out int collationStart); 163_sSpecificCulture = _bNeutral ? IcuLocaleData.GetSpecificCultureName(_sRealName) : _sRealName; 167_sName = collationStart < 0 || _bNeutral ? _sRealName : _sRealName.Substring(0, collationStart);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Nls.cs (11)
50Debug.Assert(_sRealName != null, "[CultureData.DoGetLocaleInfo] Expected _sRealName to be populated by already"); 51return NlsGetLocaleInfo(_sRealName, type); 77Debug.Assert(_sRealName != null, "[CultureData.DoGetLocaleInfoInt] Expected _sRealName to be populated by already"); 78return GetLocaleInfoExInt(_sRealName, lctype); 84Debug.Assert(_sRealName != null, "[CultureData.DoGetLocaleInfoInt] Expected _sRealName to be populated by already"); 85return ConvertWin32GroupString(GetLocaleInfoFromLCType(_sRealName, (uint)type, _bUseOverrides)); 97Debug.Assert(_sRealName != null, "[CultureData.DoGetLocaleInfoInt] Expected _sRealName to be populated by already"); 98return ReescapeWin32String(GetLocaleInfoFromLCType(_sRealName, Interop.Kernel32.LOCALE_STIMEFORMAT, _bUseOverrides)); 104Debug.Assert(_sRealName != null, "[CultureData.DoGetLocaleInfoInt] Expected _sRealName to be populated by already"); 106int result = GetLocaleInfoExInt(_sRealName, Interop.Kernel32.LOCALE_IFIRSTDAYOFWEEK | (!_bUseOverrides ? Interop.Kernel32.LOCALE_NOUSEROVERRIDE : 0)); 530if (string.Equals(context.strings[i], _sRealName, StringComparison.OrdinalIgnoreCase))