diff options
Diffstat (limited to 'src/System.Private.CoreLib/src/System/AppContextDefaultValues.cs')
-rw-r--r-- | src/System.Private.CoreLib/src/System/AppContextDefaultValues.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/System.Private.CoreLib/src/System/AppContextDefaultValues.cs b/src/System.Private.CoreLib/src/System/AppContextDefaultValues.cs index a0093c94a..3dd5d55f5 100644 --- a/src/System.Private.CoreLib/src/System/AppContextDefaultValues.cs +++ b/src/System.Private.CoreLib/src/System/AppContextDefaultValues.cs @@ -32,14 +32,14 @@ namespace System // - The identifier and version is required, profile is optional // - Only three components are allowed. // - The version string must be in the System.Version format; an optional "v" or "V" prefix is allowed - private static bool TryParseFrameworkName(String frameworkName, out String identifier, out int version, out String profile) + private static bool TryParseFrameworkName(string frameworkName, out string identifier, out int version, out string profile) { // For parsing a target Framework moniker, from the FrameworkName class const char c_componentSeparator = ','; const char c_keyValueSeparator = '='; const char c_versionValuePrefix = 'v'; - const String c_versionKey = "Version"; - const String c_profileKey = "Profile"; + const string c_versionKey = "Version"; + const string c_profileKey = "Profile"; identifier = profile = string.Empty; version = 0; @@ -49,7 +49,7 @@ namespace System return false; } - String[] components = frameworkName.Split(c_componentSeparator); + string[] components = frameworkName.Split(c_componentSeparator); version = 0; // Identifer and Version are required, Profile is optional. @@ -113,7 +113,7 @@ namespace System // else if (key.Equals(c_profileKey, StringComparison.OrdinalIgnoreCase)) { - if (!String.IsNullOrEmpty(value)) + if (!string.IsNullOrEmpty(value)) { profile = value; } |