2 instantiations of Buffer
Microsoft.Build (2)
InterningBinaryReader.cs (2)
196return new Buffer(); 218return 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 41private static Buffer s_bufferPool; 46private Buffer _buffer; 61private 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> 211private static Buffer GetPooledBuffer() 213Buffer buffer = Interlocked.Exchange(ref s_bufferPool, null); 245Buffer buffer = (Buffer)sharedBuffer;