Base:
10 references to Length
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
XmlDataContractSerializerOutputFormatter.cs (1)
276response.ContentLength = fileBufferingWriteStream.Length;
XmlSerializerOutputFormatter.cs (1)
253response.ContentLength = fileBufferingWriteStream.Length;
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
NewtonsoftJsonOutputFormatter.cs (1)
180response.ContentLength = fileBufferingWriteStream.Length;
Microsoft.AspNetCore.WebUtilities (2)
FileBufferingWriteStream.cs (2)
112if (_bufferLimit.HasValue && _bufferLimit - Length < count) 151if (_bufferLimit.HasValue && _bufferLimit - Length < buffer.Length)
Microsoft.AspNetCore.WebUtilities.Tests (5)
FileBufferingWriteStreamTests.cs (5)
30Assert.Equal(input.Length, bufferingStream.Length); 54Assert.Equal(input.Length, bufferingStream.Length); 241Assert.Equal(input.Length, bufferingStream.Length); 349Assert.Equal(0, bufferingStream.Length); 366Assert.Equal(0, bufferingStream.Length);