2 instantiations of Buffer
Microsoft.Build (2)
InterningBinaryReader.cs (2)
185return new Buffer(); 207return 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 36private static Buffer s_bufferPool; 41private Buffer _buffer; 56private 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> 200private static Buffer GetPooledBuffer() 202Buffer buffer = Interlocked.Exchange(ref s_bufferPool, null); 234Buffer buffer = (Buffer)sharedBuffer;