Skip to content

Commit 85ed809

Browse files
committed
Avoid redundant null check
1 parent e3e7b85 commit 85ed809

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/SJP.Schematic.Serialization/Mapping/AutoIncrementMapper.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ public Option<IAutoIncrement> Map(Dto.AutoIncrement? source)
1818

1919
public Dto.AutoIncrement? Map(Option<IAutoIncrement> source)
2020
{
21-
ArgumentNullException.ThrowIfNull(source);
22-
2321
return source.MatchUnsafe(
2422
static incr => new Dto.AutoIncrement
2523
{

0 commit comments

Comments
 (0)