summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Onderka <gsvick@gmail.com>2016-03-30 04:24:23 +0200
committerPetr Onderka <gsvick@gmail.com>2016-03-30 04:24:23 +0200
commit0e3c5de2f004916e6cb640fe83e2781a6029500d (patch)
treef213cffd8a346eb574001bd02c0df95655950423
parentf0638c5b6aecec87b3a8aac8c808152c86febe9d (diff)
downloadcoreclr-0e3c5de2f004916e6cb640fe83e2781a6029500d.tar.gz
coreclr-0e3c5de2f004916e6cb640fe83e2781a6029500d.tar.bz2
coreclr-0e3c5de2f004916e6cb640fe83e2781a6029500d.zip
Removed obsolete comment from Environment.GetResourceString
Fixes #3979
-rw-r--r--src/mscorlib/src/System/Environment.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mscorlib/src/System/Environment.cs b/src/mscorlib/src/System/Environment.cs
index dcf32b3a94..dcfbe0587c 100644
--- a/src/mscorlib/src/System/Environment.cs
+++ b/src/mscorlib/src/System/Environment.cs
@@ -1307,19 +1307,6 @@ namespace System {
return m_resHelper.GetResourceString(key);
}
- // #threadCultureInfo
- // Currently in silverlight, CurrentCulture and CurrentUICulture are isolated
- // within an AppDomain. This is in contrast to the desktop, in which cultures
- // leak across AppDomain boundaries with the thread.
- //
- // Note that mscorlib transitions to the default domain to perform resource
- // lookup. This causes problems for the silverlight changes: since culture isn't
- // passed, resource string lookup won't necessarily use the culture of the thread
- // originating the request. To get around that problem, we pass the CultureInfo
- // so that the ResourceManager GetString(x, cultureInfo) overload can be used.
- // We first perform the same check as in CultureInfo to make sure it's safe to
- // let the CultureInfo travel across AppDomains.
-
[System.Security.SecuritySafeCritical] // auto-generated
internal static String GetResourceString(String key) {
#if FEATURE_CORECLR