From d10a7845debba0c0b2915cdc6472a8aa8c2e023f Mon Sep 17 00:00:00 2001 From: James Ko Date: Mon, 4 Jul 2016 11:58:44 -0400 Subject: [PATCH] Rename the chars parameter in a comment Commit migrated from https://github.com/dotnet/coreclr/commit/9668b5f6275f9dbf24ecd0767d5d4817cde16322 --- src/coreclr/src/mscorlib/src/System/Text/EncodingForwarder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/mscorlib/src/System/Text/EncodingForwarder.cs b/src/coreclr/src/mscorlib/src/System/Text/EncodingForwarder.cs index 93be85d..13d7bac 100644 --- a/src/coreclr/src/mscorlib/src/System/Text/EncodingForwarder.cs +++ b/src/coreclr/src/mscorlib/src/System/Text/EncodingForwarder.cs @@ -63,7 +63,7 @@ namespace System.Text // null strings/empty char arrays. See // http://stackoverflow.com/q/37757751/4077294 // Regardless, we may still want to check - // for if (chars.Length == 0) in the future + // for if (s.Length == 0) in the future // and short-circuit as an optimization (TODO). fixed (char* pChars = s) -- 2.7.4