summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/FormattableString.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/FormattableString.cs')
-rw-r--r--src/mscorlib/src/System/FormattableString.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/FormattableString.cs b/src/mscorlib/src/System/FormattableString.cs
index ef56bcf3e0..294b2c1846 100644
--- a/src/mscorlib/src/System/FormattableString.cs
+++ b/src/mscorlib/src/System/FormattableString.cs
@@ -67,7 +67,7 @@ namespace System
{
if (formattable == null)
{
- throw new ArgumentNullException("formattable");
+ throw new ArgumentNullException(nameof(formattable));
}
return formattable.ToString(Globalization.CultureInfo.InvariantCulture);