Skip to content

Commit 060fc0f

Browse files
author
Marcelo Gobetti
committed
Replaces the only case of a string on argument of ArgumentNullException
1 parent 16bc608 commit 060fc0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaterialDesignThemes.Wpf/DateTimeEx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ internal static class DateTimeEx
88
{
99
internal static DateTimeFormatInfo GetDateFormat(this CultureInfo culture)
1010
{
11-
if (culture == null) throw new ArgumentNullException("culture");
11+
if (culture == null) throw new ArgumentNullException(nameof(culture));
1212

1313
if (culture.Calendar is GregorianCalendar)
1414
{

0 commit comments

Comments
 (0)