diff options
Diffstat (limited to 'Xamarin.Forms.Core/TypeConverter.cs')
-rw-r--r-- | Xamarin.Forms.Core/TypeConverter.cs | 2 |
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); } |