24 writes to CurrentUICulture
ComSvcConfig (2)
Tool.cs (2)
902Thread.CurrentThread.CurrentUICulture = CultureInfo.CurrentUICulture.GetConsoleFallbackUICulture(); 907Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
mscorlib (1)
system\globalization\cultureinfo.cs (1)
854Thread.CurrentThread.CurrentUICulture = value;
System (4)
compmod\system\componentmodel\CultureInfoConverter.cs (4)
96Thread.CurrentThread.CurrentUICulture = culture; 145Thread.CurrentThread.CurrentUICulture = currentUICulture; 177Thread.CurrentThread.CurrentUICulture = culture; 189Thread.CurrentThread.CurrentUICulture = currentUICulture;
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedHttpTransportManager.cs (1)
261currentThread.CurrentUICulture = data.uiCultureInfo;
System.Web (12)
Hosting\HostingEnvironment.cs (2)
1827Thread.CurrentThread.CurrentUICulture = uiCulture; 1839Thread.CurrentThread.CurrentUICulture = _savedUICulture;
HttpApplication.cs (2)
2056Thread.CurrentThread.CurrentUICulture = uiculture; 2076Thread.CurrentThread.CurrentUICulture = _savedAppLevelUICulture;
HttpResponse.cs (2)
1188Thread.CurrentThread.CurrentUICulture = uiculture; 1233Thread.CurrentThread.CurrentUICulture = savedUiculture;
HttpRuntime.cs (2)
671Thread.CurrentThread.CurrentUICulture = savedUICulture; 1335Thread.CurrentThread.CurrentUICulture = HttpServerUtility.CreateReadOnlyCultureInfo(globConfig.UICulture);
ThreadContext.cs (2)
272Thread.CurrentThread.CurrentUICulture = _originalThreadCurrentUICulture; 330Thread.CurrentThread.CurrentUICulture = uiculture;
UI\Page.cs (2)
3943Thread.CurrentThread.CurrentUICulture = newUICulture; 4395currentThread.CurrentUICulture = currentUICulture;
System.Web.Extensions (2)
UI\ScriptResourceAttribute.cs (2)
178Thread.CurrentThread.CurrentUICulture = culture; 211Thread.CurrentThread.CurrentUICulture = previousCulture;
WsatConfig (2)
CommandLine\ConsoleEntryPoint.cs (2)
256Thread.CurrentThread.CurrentUICulture = CultureInfo.CurrentUICulture.GetConsoleFallbackUICulture(); 261Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
26 references to CurrentUICulture
ComSvcConfig (1)
Tool.cs (1)
905Thread.CurrentThread.CurrentUICulture.TextInfo.OEMCodePage))
mscorlib (4)
system\globalization\culturedata.cs (3)
1214if (CultureInfo.UserDefaultUICulture.Name.Equals(Thread.CurrentThread.CurrentUICulture.Name)) 1401if (CultureInfo.UserDefaultUICulture.Name.Equals(Thread.CurrentThread.CurrentUICulture.Name)) 1524if (CultureInfo.UserDefaultUICulture.Name.Equals(Thread.CurrentThread.CurrentUICulture.Name))
system\globalization\cultureinfo.cs (1)
816return Thread.CurrentThread.CurrentUICulture;
System (2)
compmod\system\componentmodel\CultureInfoConverter.cs (2)
93CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture; 174CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture;
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedHttpTransportManager.cs (1)
259if (currentThread.CurrentUICulture != data.uiCultureInfo)
System.Web (15)
Hosting\HostingEnvironment.cs (2)
1819CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture; 1838if (_savedUICulture != null && _savedUICulture != Thread.CurrentThread.CurrentUICulture) {
HttpApplication.cs (3)
2049_savedAppLevelUICulture = Thread.CurrentThread.CurrentUICulture; 2055if (uiculture != null && uiculture != Thread.CurrentThread.CurrentUICulture) { 2062CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture;
HttpResponse.cs (1)
1187savedUiculture = Thread.CurrentThread.CurrentUICulture;
HttpRuntime.cs (1)
627CultureInfo savedUICulture = Thread.CurrentThread.CurrentUICulture;
ModelBinding\DataAnnotationsModelValidator.cs (1)
39.GetLocalizedString(Thread.CurrentThread.CurrentUICulture, name, arguments);
ThreadContext.cs (4)
254CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture; 323_originalThreadCurrentUICulture = Thread.CurrentThread.CurrentUICulture; 329if (uiculture != null && uiculture != Thread.CurrentThread.CurrentUICulture) { 339HttpContext.DynamicUICulture = Thread.CurrentThread.CurrentUICulture;
UI\Page.cs (3)
3947get { return Thread.CurrentThread.CurrentUICulture.DisplayName; } 4411CultureInfo prevUICulture = currentThread.CurrentUICulture; 4510if (prevCulture != currentThread.CurrentCulture || prevUICulture != currentThread.CurrentUICulture) {
System.Web.Extensions (1)
UI\ScriptResourceAttribute.cs (1)
175CultureInfo previousCulture = Thread.CurrentThread.CurrentUICulture;
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerHelpers.cs (1)
1748string rulesText = (expression != null) ? expressionPropertyDescriptor.Converter.ConvertTo(new TypeDescriptorContext(activity.Site, null, value), System.Threading.Thread.CurrentThread.CurrentUICulture, expression, typeof(string)) as string : null;
WsatConfig (1)
CommandLine\ConsoleEntryPoint.cs (1)
259(System.Console.OutputEncoding.CodePage != Thread.CurrentThread.CurrentUICulture.TextInfo.OEMCodePage))