summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/TypeConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/TypeConverter.cs')
-rw-r--r--Xamarin.Forms.Core/TypeConverter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core/TypeConverter.cs b/Xamarin.Forms.Core/TypeConverter.cs
index 57ea3b4c..52b14d4e 100644
--- a/Xamarin.Forms.Core/TypeConverter.cs
+++ b/Xamarin.Forms.Core/TypeConverter.cs
@@ -8,7 +8,7 @@ namespace Xamarin.Forms
public virtual bool CanConvertFrom(Type sourceType)
{
if (sourceType == null)
- throw new ArgumentNullException("sourceType");
+ throw new ArgumentNullException(nameof(sourceType));
return sourceType == typeof(string);
}