Skip to content

Commit 9b9a109

Browse files
Update Path.cs
1 parent a44295b commit 9b9a109

File tree

1 file changed

+1
-1
lines changed
  • src/ImageSharp.Drawing/Shapes

1 file changed

+1
-1
lines changed

src/ImageSharp.Drawing/Shapes/Path.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public Path(Path path)
5050
public Path(params ILineSegment[] segments)
5151
{
5252
ArgumentNullException.ThrowIfNull(segments);
53-
this.lineSegments = segments ?? throw new ArgumentNullException(nameof(segments));
53+
this.lineSegments = segments;
5454
}
5555

5656
/// <summary>

0 commit comments

Comments
 (0)