18 references to None
System (18)
net\System\Net\_Connection.cs (1)
3616
if (currentRequest != null && currentRequest.HttpWriteMode != HttpWriteMode.
None
&&
net\System\Net\_ConnectStream.cs (2)
347
return m_HttpWriteMode != HttpWriteMode.
None
;
641
GlobalLog.Assert(m_HttpWriteMode != HttpWriteMode.
None
, "ConnectStream#{0}::ResubmitWrite()|m_HttpWriteMode == HttpWriteMode.None", ValidationHelper.HashString(this));
net\System\Net\HttpWebRequest.cs (15)
1129
if (HttpWriteMode != HttpWriteMode.
None
){
1280
if ((HttpWriteMode!=HttpWriteMode.Unknown && HttpWriteMode!=HttpWriteMode.
None
) || (ContentLength > 0) || SendChunked) {
1284
HttpWriteMode = HttpWriteMode.
None
;
1310
HttpWriteMode = ContentLength>=0 ? HttpWriteMode.ContentLength : onRequestStream ? HttpWriteMode.Buffer : HttpWriteMode.
None
;
3457
if (HttpWriteMode == HttpWriteMode.
None
)
4034
(HttpWriteMode == HttpWriteMode.
None
|| _OldSubmitWriteStream != null || _WriteAResult == null || _WriteAResult.IsCompleted == true ?
4056
if (context == null || context.InternalPeekCompleted || HttpWriteMode == HttpWriteMode.
None
4227
if (HttpWriteMode!=HttpWriteMode.
None
) {
4289
if (HttpWriteMode!=HttpWriteMode.
None
) {
4466
if (thisHttpWebRequest.HttpWriteMode == HttpWriteMode.
None
)
4570
if (HttpWriteMode != HttpWriteMode.
None
)
4995
if (HttpWriteMode!=HttpWriteMode.
None
) {
5809
if (HttpWriteMode != HttpWriteMode.
None
) {
5836
HttpWriteMode = HttpWriteMode.
None
;
5909
if (HttpWriteMode != HttpWriteMode.
None
&& !AllowWriteStreamBuffering && _resendRequestContent == null