Skip to content

Commit 60b0fd7

Browse files
committed
[C#] Fix typo with extra bracket.
1 parent e9338e3 commit 60b0fd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/sbe-dll/DirectBuffer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ private void TryResizeBuffer(int limit)
137137
{
138138
if (bufferOverflow == null)
139139
{
140-
throw new IndexOutOfRangeException("limit=" + limit + " is beyond capacity=" + _capacity));
140+
throw new IndexOutOfRangeException("limit=" + limit + " is beyond capacity=" + _capacity);
141141
}
142142

143143
var newBuffer = bufferOverflow(_capacity, limit);
144144

145145
if (newBuffer == null)
146146
{
147-
throw new IndexOutOfRangeException("limit=" + limit + " is beyond capacity=" + _capacity));
147+
throw new IndexOutOfRangeException("limit=" + limit + " is beyond capacity=" + _capacity);
148148
}
149149

150150
Marshal.Copy((IntPtr)_pBuffer, newBuffer, 0, _capacity);

0 commit comments

Comments
 (0)