2 writes to sWindowsName
mscorlib (2)
system\globalization\culturedata.cs (2)
371
invariant.
sWindowsName
= ""; // Name OS thinks the object is (ie: de-DE_phoneb, or en-US (even if en was passed in))
636
this.
sWindowsName
= "zh-TW";
16 references to sWindowsName
mscorlib (16)
system\globalization\culturedata.cs (16)
2311
Contract.Assert(this.
sWindowsName
!= null, "[CultureData.CalendarIds] Expected this.sWindowsName to be populated by COMNlsInfo::nativeInitCultureData already");
2312
int count = CalendarData.nativeGetCalendars(this.
sWindowsName
, this.bUseOverrides, calendarInts);
2324
if (this.
sWindowsName
== "zh-TW")
2409
Contract.Assert(this.
sWindowsName
!= null, "[CultureData.GetCalendar] Expected this.sWindowsName to be populated by COMNlsInfo::nativeInitCultureData already");
2410
calendarData = new CalendarData(this.
sWindowsName
, calendarId, this.UseUserOverride);
2538
this.sCompareInfo = this.
sWindowsName
;
3056
Contract.Assert(this.
sWindowsName
!= null, "[CultureData.DoGetLocaleInfo] Expected this.sWindowsName to be populated by COMNlsInfo::nativeInitCultureData already");
3057
return DoGetLocaleInfo(this.
sWindowsName
, lctype);
3093
Contract.Assert(this.
sWindowsName
!= null, "[CultureData.DoGetLocaleInfoInt] Expected this.sWindowsName to be populated by COMNlsInfo::nativeInitCultureData already");
3094
int result = CultureInfo.nativeGetLocaleInfoExInt(this.
sWindowsName
, lctype);
3102
Contract.Assert(this.
sWindowsName
!= null, "[CultureData.DoEnumTimeFormats] Expected this.sWindowsName to be populated by COMNlsInfo::nativeInitCultureData already");
3103
String[] result = ReescapeWin32Strings(nativeEnumTimeFormats(this.
sWindowsName
, 0, UseUserOverride));
3111
Contract.Assert(this.
sWindowsName
!= null, "[CultureData.DoEnumShortTimeFormats] Expected this.sWindowsName to be populated by COMNlsInfo::nativeInitCultureData already");
3112
String[] result = ReescapeWin32Strings(nativeEnumTimeFormats(this.
sWindowsName
, TIME_NOSECONDS, UseUserOverride));
3176
Contract.Assert(this.
sWindowsName
!= null, "[CultureData.GetNFIValues] Expected this.sWindowsName to be populated by COMNlsInfo::nativeInitCultureData already");
3177
CultureData.nativeGetNumberFormatInfoValues(this.
sWindowsName
, nfi, UseUserOverride);