summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Reflection/ReflectionContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Reflection/ReflectionContext.cs')
-rw-r--r--src/mscorlib/src/System/Reflection/ReflectionContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/Reflection/ReflectionContext.cs b/src/mscorlib/src/System/Reflection/ReflectionContext.cs
index f9bfa87d76..34f692166c 100644
--- a/src/mscorlib/src/System/Reflection/ReflectionContext.cs
+++ b/src/mscorlib/src/System/Reflection/ReflectionContext.cs
@@ -28,7 +28,7 @@ namespace System.Reflection
public virtual TypeInfo GetTypeForObject(object value)
{
if (value == null)
- throw new ArgumentNullException("value");
+ throw new ArgumentNullException(nameof(value));
return MapType(value.GetType().GetTypeInfo());
}