2 instantiations of Buffer
Microsoft.Build (2)
InterningBinaryReader.cs (2)
185
return new
Buffer
();
207
return new
Buffer
();
9 references to Buffer
Microsoft.Build (9)
InterningBinaryReader.cs (9)
33
/// <see cref="
Buffer
"/> objects repeatedly. Used in scenarios that don't have a good context to attach
36
private static
Buffer
s_bufferPool;
41
private
Buffer
_buffer;
56
private InterningBinaryReader(Stream input,
Buffer
buffer, bool isPrivateBuffer)
199
/// <returns>The <see cref="
Buffer
"/>. Should be returned to the pool after we're done with it.</returns>
200
private static
Buffer
GetPooledBuffer()
202
Buffer
buffer = Interlocked.Exchange(ref s_bufferPool, null);
234
Buffer
buffer = (
Buffer
)sharedBuffer;