5 writes to _sRealName
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.cs (4)
553
invariant.
_sRealName
= ""; // Name you passed in (ie: en-US, en, or de-DE_phoneb)
785
cd.
_sRealName
= cd._sName;
801
culture.
_sRealName
= cultureName;
839
_sRealName
= fallbackCultureName;
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\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.cs (23)
821
string cultureName =
_sRealName
;
904
Debug.Assert(
_sRealName
!= null, "[CultureData.CultureName] Expected _sRealName to be populated by already");
908
return _sName is "zh-CHS" or "zh-CHT" ? _sName :
_sRealName
;
924
internal string ParentName => _sParent ??= GetLocaleInfoCore(
_sRealName
, LocaleStringData.ParentName);
1103
NlsGetThreeLetterWindowsLanguageName(
_sRealName
) :
1104
IcuGetThreeLetterWindowsLanguageName(
_sRealName
);
1148
_iGeoId = GlobalizationMode.UseNls ? NlsGetLocaleInfo(LocaleNumberData.GeoId) : IcuGetGeoId(
_sRealName
);
1225
NlsGetConsoleFallbackName(
_sRealName
) :
1226
IcuGetConsoleFallbackName(
_sRealName
);
1775
Debug.Assert(
_sRealName
!= null, "[CultureData.IsRightToLeft] Expected _sRealName to be populated by already");
1799
Debug.Assert(
_sRealName
!= null, "[CultureData.TextInfoName] Expected _sRealName to be populated by already");
1800
return
_sRealName
;
1811
Debug.Assert(
_sRealName
!= null, "[CultureData.SortName] Expected _sRealName to be populated by already");
1812
return
_sRealName
;
1827
_iDefaultAnsiCodePage = GetAnsiCodePage(
_sRealName
);
1842
_iDefaultOemCodePage = GetOemCodePage(
_sRealName
);
1857
_iDefaultMacCodePage = GetMacCodePage(
_sRealName
);
1872
_iDefaultEbcdicCodePage = GetEbcdicCodePage(
_sRealName
);
1884
Debug.Assert(
_sRealName
!= null, "[CultureData.LCID] Expected this.sRealName to be populated already");
1885
_iLanguage = GlobalizationMode.UseNls ? NlsLocaleNameToLCID(
_sRealName
) : IcuLocaleNameToLCID(
_sRealName
);
2245
Debug.Assert(
_sRealName
!= null);
2246
nfi._digitSubstitution = ShouldUseUserOverrideNlsData ? NlsGetLocaleInfo(LocaleNumberData.DigitSubstitution) : IcuGetDigitSubstitution(
_sRealName
);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Icu.cs (8)
115
Debug.Assert(
_sRealName
!= null);
119
string 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\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Nls.cs (11)
50
Debug.Assert(
_sRealName
!= null, "[CultureData.DoGetLocaleInfo] Expected _sRealName to be populated by already");
51
return NlsGetLocaleInfo(
_sRealName
, type);
77
Debug.Assert(
_sRealName
!= null, "[CultureData.DoGetLocaleInfoInt] Expected _sRealName to be populated by already");
78
return GetLocaleInfoExInt(
_sRealName
, lctype);
84
Debug.Assert(
_sRealName
!= null, "[CultureData.DoGetLocaleInfoInt] Expected _sRealName to be populated by already");
85
return ConvertWin32GroupString(GetLocaleInfoFromLCType(
_sRealName
, (uint)type, _bUseOverrides));
97
Debug.Assert(
_sRealName
!= null, "[CultureData.DoGetLocaleInfoInt] Expected _sRealName to be populated by already");
98
return ReescapeWin32String(GetLocaleInfoFromLCType(
_sRealName
, Interop.Kernel32.LOCALE_STIMEFORMAT, _bUseOverrides));
104
Debug.Assert(
_sRealName
!= null, "[CultureData.DoGetLocaleInfoInt] Expected _sRealName to be populated by already");
106
int result = GetLocaleInfoExInt(
_sRealName
, Interop.Kernel32.LOCALE_IFIRSTDAYOFWEEK | (!_bUseOverrides ? Interop.Kernel32.LOCALE_NOUSEROVERRIDE : 0));
530
if (string.Equals(context.strings[i],
_sRealName
, StringComparison.OrdinalIgnoreCase))