We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 004284b commit e645681Copy full SHA for e645681
LLama/Common/FixedSizeQueue.cs
@@ -46,7 +46,7 @@ public T this[int index]
46
public FixedSizeQueue(int size)
47
{
48
if (size <= 0)
49
- throw new ArgumentOutOfRangeException(nameof(size), size, "Capacity must be positive.");
+ throw new ArgumentOutOfRangeException(nameof(size), size, "Capacity must be greater than zero.");
50
51
Capacity = size;
52
_buffer = new T[size];
0 commit comments