Skip to content

Commit bab8094

Browse files
committed
Remove double check
1 parent 32aff5e commit bab8094

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Orm/Xtensive.Orm/Sql/SqlDml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,6 @@ public static SqlFunctionCall DateToDateTimeOffset(SqlExpression expression)
731731

732732
public static SqlFunctionCall TimeAddHours(SqlExpression source, SqlExpression hours)
733733
{
734-
ArgumentValidator.EnsureArgumentNotNull(source, "source");
735-
ArgumentValidator.EnsureArgumentNotNull(hours, "hours");
736734
ArgumentNullException.ThrowIfNull(source, nameof(source));
737735
ArgumentNullException.ThrowIfNull(hours, nameof(hours));
738736
return new SqlFunctionCall(SqlFunctionType.TimeAddHours, source, hours);

0 commit comments

Comments
 (0)