summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Text/ISCIIEncoding.cs
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2016-11-01 11:47:18 -0400
committerJan Kotas <jkotas@microsoft.com>2016-11-01 08:47:18 -0700
commite74cdcb1ed6021eaf03eea5ee7f6ba3c6b403daf (patch)
tree8da11b4cefad031361e74361e09e4f06a00a932f /src/mscorlib/src/System/Text/ISCIIEncoding.cs
parent9c95461a7200b9df71e8b76963fe072d6fb9c39b (diff)
downloadcoreclr-e74cdcb1ed6021eaf03eea5ee7f6ba3c6b403daf.tar.gz
coreclr-e74cdcb1ed6021eaf03eea5ee7f6ba3c6b403daf.tar.bz2
coreclr-e74cdcb1ed6021eaf03eea5ee7f6ba3c6b403daf.zip
Use nameof throughout mscorlib (#7929)
Diffstat (limited to 'src/mscorlib/src/System/Text/ISCIIEncoding.cs')
-rw-r--r--src/mscorlib/src/System/Text/ISCIIEncoding.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/Text/ISCIIEncoding.cs b/src/mscorlib/src/System/Text/ISCIIEncoding.cs
index 50f710041c..83ca500294 100644
--- a/src/mscorlib/src/System/Text/ISCIIEncoding.cs
+++ b/src/mscorlib/src/System/Text/ISCIIEncoding.cs
@@ -78,7 +78,7 @@ namespace System.Text
// This shouldn't really be possible
if (defaultCodePage < CodeDevanagari || defaultCodePage > CodePunjabi)
throw new ArgumentException(Environment.GetResourceString(
- "Argument_CodepageNotSupported", codePage), "codePage");
+ "Argument_CodepageNotSupported", codePage), nameof(codePage));
}
// Constructor called by serialization.