6 references to s_byteArrayPool
Microsoft.CodeAnalysis.Workspaces (6)
Storage\SQLite\v2\SQLitePersistentStorage_Helpers.cs (6)
94
lock (
s_byteArrayPool
)
96
if (
s_byteArrayPool
.Count > 0)
98
bytes =
s_byteArrayPool
.Pop();
112
lock (
s_byteArrayPool
)
114
if (
s_byteArrayPool
.Count < MaxPooledByteArrays)
116
s_byteArrayPool
.Push(bytes);