Rename the chars parameter in a comment
authorJames Ko <jamesqko@gmail.com>
Mon, 4 Jul 2016 15:58:44 +0000 (11:58 -0400)
committerJames Ko <jamesqko@gmail.com>
Mon, 4 Jul 2016 19:23:51 +0000 (15:23 -0400)
Commit migrated from https://github.com/dotnet/coreclr/commit/9668b5f6275f9dbf24ecd0767d5d4817cde16322

src/coreclr/src/mscorlib/src/System/Text/EncodingForwarder.cs

index 93be85d..13d7bac 100644 (file)
@@ -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)