Skip to content

Commit 92e51b8

Browse files
committed
Merge pull request #258 from gobetti/argumentnullexception-with-csharp6-nameof
ArgumentNullException with C#6 nameof
2 parents 0617347 + 060fc0f commit 92e51b8

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)