6 references to s_byteArrayPool
Microsoft.CodeAnalysis.Workspaces (6)
Storage\SQLite\v2\SQLitePersistentStorage_Helpers.cs (6)
95
lock (
s_byteArrayPool
)
97
if (
s_byteArrayPool
.Count > 0)
99
bytes =
s_byteArrayPool
.Pop();
113
lock (
s_byteArrayPool
)
115
if (
s_byteArrayPool
.Count < MaxPooledByteArrays)
117
s_byteArrayPool
.Push(bytes);