diff options
author | Stephen Toub <stoub@microsoft.com> | 2018-06-24 08:22:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-24 08:22:35 -0400 |
commit | 0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6 (patch) | |
tree | d2e491bcc12be107d00e496171274c7c180b6013 /src/System.Private.CoreLib/shared/System/String.cs | |
parent | eb31c358b27182dae487406a3247dfe995beb40f (diff) | |
download | coreclr-0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6.tar.gz coreclr-0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6.tar.bz2 coreclr-0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6.zip |
Simply type names in Corelib (#18623)
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/String.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/String.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/System.Private.CoreLib/shared/System/String.cs b/src/System.Private.CoreLib/shared/System/String.cs index 85d0d4ef5d..7050644d9a 100644 --- a/src/System.Private.CoreLib/shared/System/String.cs +++ b/src/System.Private.CoreLib/shared/System/String.cs @@ -15,13 +15,13 @@ using System.Text; namespace System { // The String class represents a static string of characters. Many of - // the String methods perform some type of transformation on the current - // instance and return the result as a new String. As with arrays, character + // the string methods perform some type of transformation on the current + // instance and return the result as a new string. As with arrays, character // positions (indices) are zero-based. [Serializable] [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] - public sealed partial class String : IComparable, IEnumerable, IConvertible, IEnumerable<char>, IComparable<String>, IEquatable<String>, ICloneable + public sealed partial class String : IComparable, IEnumerable, IConvertible, IEnumerable<char>, IComparable<string>, IEquatable<string>, ICloneable { // String constructors // These are special. The implementation methods for these have a different signature from the @@ -453,7 +453,7 @@ namespace System for (int i = 0; i < value.Length; i++) { - if (!Char.IsWhiteSpace(value[i])) return false; + if (!char.IsWhiteSpace(value[i])) return false; } return true; @@ -704,7 +704,7 @@ namespace System return Convert.ToDouble(this, provider); } - Decimal IConvertible.ToDecimal(IFormatProvider provider) + decimal IConvertible.ToDecimal(IFormatProvider provider) { return Convert.ToDecimal(this, provider); } @@ -714,7 +714,7 @@ namespace System return Convert.ToDateTime(this, provider); } - Object IConvertible.ToType(Type type, IFormatProvider provider) + object IConvertible.ToType(Type type, IFormatProvider provider) { return Convert.DefaultToType((IConvertible)this, type, provider); } |