summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Boolean.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Boolean.cs')
-rw-r--r--src/mscorlib/src/System/Boolean.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/Boolean.cs b/src/mscorlib/src/System/Boolean.cs
index c5cd45a428..9aaec9a345 100644
--- a/src/mscorlib/src/System/Boolean.cs
+++ b/src/mscorlib/src/System/Boolean.cs
@@ -151,7 +151,7 @@ namespace System {
// Determines whether a String represents true or false.
//
public static Boolean Parse (String value) {
- if (value==null) throw new ArgumentNullException("value");
+ if (value==null) throw new ArgumentNullException(nameof(value));
Contract.EndContractBlock();
Boolean result = false;
if (!TryParse(value, out result)) {