1 write to ContentBodyNotAllowed
System (1)
net\System\Net\Internal.cs (1)
1908
ContentBodyNotAllowed
= contentBodyNotAllowed;
4 references to ContentBodyNotAllowed
System (4)
net\System\Net\filewebrequest.cs (1)
293
return !KnownHttpVerb.Parse(m_method).
ContentBodyNotAllowed
;
net\System\Net\HttpWebRequest.cs (3)
1634
bool result = !CurrentMethod.
ContentBodyNotAllowed
;
4997
GlobalLog.Assert(!CurrentMethod.
ContentBodyNotAllowed
, "HttpWebRequest#{0}::SerializeHeaders()|!ContentBodyNotAllowed CurrentMethod:{1} HttpWriteMode:{2} ContentLength:{3}", ValidationHelper.HashString(this), CurrentMethod, HttpWriteMode, ContentLength);
5002
GlobalLog.Assert(!CurrentMethod.
ContentBodyNotAllowed
, "HttpWebRequest#{0}::SerializeHeaders()|!ContentBodyNotAllowed CurrentMethod:{1} HttpWriteMode:{2} ContentLength:{3}", ValidationHelper.HashString(this), CurrentMethod, HttpWriteMode, ContentLength);