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