Skip to content

Commit ceef6b9

Browse files
committed
fix: Silence non-nullable warning in pool tests.
1 parent 5a7e7b7 commit ceef6b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/NetMQ.Tests/BufferPoolTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ public abstract class BufferPoolTests
1010
{
1111
protected int maxBufferSize = 2;
1212
protected long maxBufferPoolSize = 100L;
13+
// Silence the non-nullable warning.
14+
#pragma warning disable 8618
1315
protected IBufferPool pool;
16+
#pragma warning restore 8618
1417

1518
[Theory]
1619
[InlineData(500)]

0 commit comments

Comments
 (0)