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)
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;
         }