2 instantiations of Buffer
Microsoft.Build (2)
InterningBinaryReader.cs (2)
196
return new
Buffer
();
218
return new
Buffer
();
9 references to Buffer
Microsoft.Build (9)
InterningBinaryReader.cs (9)
38
/// <see cref="
Buffer
"/> objects repeatedly. Used in scenarios that don't have a good context to attach
41
private static
Buffer
s_bufferPool;
46
private
Buffer
_buffer;
61
private InterningBinaryReader(Stream input,
Buffer
buffer, bool isPrivateBuffer)
210
/// <returns>The <see cref="
Buffer
"/>. Should be returned to the pool after we're done with it.</returns>
211
private static
Buffer
GetPooledBuffer()
213
Buffer
buffer = Interlocked.Exchange(ref s_bufferPool, null);
245
Buffer
buffer = (
Buffer
)sharedBuffer;