3 writes to _contentLength
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (3)
134
_contentLength
= content.Headers.ContentLength.HasValue ? content.Headers.ContentLength.Value : -1;
293
_contentLength
= -1;
297
_contentLength
= content.Headers.ContentLength.HasValue ? content.Headers.ContentLength.Value : -1;
7 references to _contentLength
dotnet-svcutil-lib (7)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (7)
146
else if (
_contentLength
!= 0)
150
int bytesToRead = (int)
_contentLength
;
198
if (
_contentLength
> _factory.MaxReceivedMessageSize)
203
int bufferSize = (int)
_contentLength
;
216
if (
_contentLength
!= -1)
263
if (
_contentLength
== -1 && buffer.Count == _factory.MaxReceivedMessageSize)
298
if (
_contentLength
<= 0)