Skip to content

Commit ffd5c36

Browse files
Remove unneccessary guard
1 parent b79e61f commit ffd5c36

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ImageSharp/IO/ChunkedMemoryStream.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ internal sealed class ChunkedMemoryStream : Stream
4747
/// <param name="allocator">The memory allocator.</param>
4848
public ChunkedMemoryStream(MemoryAllocator allocator)
4949
{
50-
Guard.NotNull(allocator, nameof(allocator));
51-
5250
this.allocatorCapacity = allocator.GetBufferCapacityInBytes();
5351
this.allocator = allocator;
5452
}

0 commit comments

Comments
 (0)