1 write to _memoryThreshold
Microsoft.AspNetCore.WebUtilities (1)
FileBufferingWriteStream.cs (1)
52_memoryThreshold = memoryThreshold;
5 references to _memoryThreshold
Microsoft.AspNetCore.WebUtilities (5)
FileBufferingWriteStream.cs (5)
64public int MemoryThreshold => _memoryThreshold; 119var allowMemoryBuffer = (_memoryThreshold - count) >= PagedByteBuffer.Length; 124Debug.Assert(PagedByteBuffer.Length <= _memoryThreshold); 158var allowMemoryBuffer = (_memoryThreshold - buffer.Length) >= PagedByteBuffer.Length; 163Debug.Assert(PagedByteBuffer.Length <= _memoryThreshold);