Tweak order of interface declarations on string (#17660)
authorJan Kotas <jkotas@microsoft.com>
Thu, 19 Apr 2018 03:02:04 +0000 (20:02 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Apr 2018 03:02:04 +0000 (20:02 -0700)
Fixes https://github.com/dotnet/corefx/issues/29158

src/mscorlib/shared/System/String.cs

index 9d230fe..8c095ab 100644 (file)
@@ -21,7 +21,7 @@ namespace System
 
     [Serializable]
     [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
-    public sealed partial class String : IComparable, IEnumerable, IEnumerable<char>, IComparable<String>, IEquatable<String>, IConvertible, 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