2 instantiations of Buffer
Microsoft.Build.Framework (2)
BackEnd\InterningBinaryReader.cs (2)
178
return new
Buffer
();
200
return new
Buffer
();
9 references to Buffer
Microsoft.Build.Framework (9)
BackEnd\InterningBinaryReader.cs (9)
32
/// <see cref="
Buffer
"/> objects repeatedly. Used in scenarios that don't have a good context to attach
35
private static
Buffer
s_bufferPool;
40
private
Buffer
_buffer;
55
private InterningBinaryReader(Stream input,
Buffer
buffer, bool isPrivateBuffer)
192
/// <returns>The <see cref="
Buffer
"/>. Should be returned to the pool after we're done with it.</returns>
193
private static
Buffer
GetPooledBuffer()
195
Buffer
buffer = Interlocked.Exchange(ref s_bufferPool, null);
227
Buffer
buffer = (
Buffer
)sharedBuffer;