summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/AppDomainSetup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/AppDomainSetup.cs')
-rw-r--r--src/mscorlib/src/System/AppDomainSetup.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mscorlib/src/System/AppDomainSetup.cs b/src/mscorlib/src/System/AppDomainSetup.cs
index 34e6cb6010..2529660670 100644
--- a/src/mscorlib/src/System/AppDomainSetup.cs
+++ b/src/mscorlib/src/System/AppDomainSetup.cs
@@ -261,7 +261,7 @@ namespace System
// with it for "file:\\" + "\\server" and "file:\\\" + "\localpath"
if ((len > 8) &&
((path[8] == '\\') || (path[8] == '/')))
- throw new ArgumentException(Environment.GetResourceString("Argument_InvalidPathChars"));
+ throw new ArgumentException(SR.Argument_InvalidPathChars);
// file:\\\ means local path
else
@@ -369,7 +369,7 @@ namespace System
String appBase = Value[(int)LoaderInformation.ApplicationBaseValue];
if ((appBase == null) || (appBase.Length == 0))
- throw new MemberAccessException(Environment.GetResourceString("AppDomain_AppBaseNotSet"));
+ throw new MemberAccessException(SR.AppDomain_AppBaseNotSet);
StringBuilder result = StringBuilderCache.Acquire();