From f20e0d248cd425b608c43a957b4c65c1d8578f20 Mon Sep 17 00:00:00 2001 From: Felipe Fujiy Pessoto Date: Thu, 16 Feb 2017 00:08:58 -0200 Subject: [PATCH] Remove unnecessary "this" --- src/mscorlib/src/System/String.Comparison.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mscorlib/src/System/String.Comparison.cs b/src/mscorlib/src/System/String.Comparison.cs index eb451fc..dda0bd6 100644 --- a/src/mscorlib/src/System/String.Comparison.cs +++ b/src/mscorlib/src/System/String.Comparison.cs @@ -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; } -- 2.7.4