Remove unnecessary "this"
authorFelipe Fujiy Pessoto <felipepessoto@hotmail.com>
Thu, 16 Feb 2017 02:08:58 +0000 (00:08 -0200)
committerFelipe Fujiy Pessoto <felipepessoto@hotmail.com>
Thu, 16 Feb 2017 02:08:58 +0000 (00:08 -0200)
Commit migrated from https://github.com/dotnet/coreclr/commit/f20e0d248cd425b608c43a957b4c65c1d8578f20

src/coreclr/src/mscorlib/src/System/String.Comparison.cs

index eb451fc..dda0bd6 100644 (file)
@@ -781,7 +781,7 @@ namespace System
 
         [Pure]
         public bool EndsWith(char value) {
-            int thisLen = this.Length;
+            int thisLen = Length;
             return thisLen != 0 && this[thisLen - 1] == value;
         }