Compilation warnings resolved

This commit is contained in:
mlemanczyk committed 2023-04-30 21:42:06 +02:00
1 parent 450701f800
commit 0951b442ae
7 files changed
+19 -19

No files matched your search

@@ -6,10 +6,10 @@ namespace Recyclable.Collections.Benchmarks
[MemoryDiagnoser]
public partial class RecyclableCollectionsBenchmarks : BenchmarkBase
{
private long[] _testArray;
private RecyclableArrayList<long> _testRecyclableArrayList;
private RecyclableList<long> _testRecyclableList;
private PooledList<long> _testPooledList;
private long[]? _testArray;
private RecyclableArrayList<long>? _testRecyclableArrayList;
private RecyclableList<long>? _testRecyclableList;
private PooledList<long>? _testPooledList;
public PooledList<long> TestObjectsAsPooledList => _testPooledList ?? throw new NullReferenceException("Something is wrong and the field is not initialized");