2 writes to _ecb
System.Web (2)
Hosting\ISAPIWorkerRequest.cs (2)
953_ecb = IntPtr.Zero; 991_ecb = ecb;
100 references to _ecb
System.Web (100)
Hosting\ISAPIWorkerRequest.cs (100)
885if (_ecb == IntPtr.Zero) 1001return _ecb; 1702if (_ecb == IntPtr.Zero) 1705return UnsafeNativeMethods.EcbGetBasics(_ecb, buffer, size, contentInfo); 1709if (_ecb == IntPtr.Zero) 1712return UnsafeNativeMethods.EcbGetQueryString(_ecb, encode, buffer, size); 1716if (_ecb == IntPtr.Zero) 1719return UnsafeNativeMethods.EcbGetQueryStringRawBytes(_ecb, buffer, size); 1723if (_ecb == IntPtr.Zero) 1726int rc = UnsafeNativeMethods.EcbGetPreloadedPostedContent(_ecb, bytes, offset, numBytesToRead); 1733if (_ecb == IntPtr.Zero) 1742rc = UnsafeNativeMethods.EcbGetAdditionalPostedContent(_ecb, bytes, offset, bufferSize); 1755if (_ecb == IntPtr.Zero) 1758return UnsafeNativeMethods.EcbGetClientCertificate(_ecb, buffer, buffer.Length, pInts, pDates); 1763if (_ecb == IntPtr.Zero) 1766return UnsafeNativeMethods.EcbIsClientConnected(_ecb); 1782if (_ecb == IntPtr.Zero) 1786_ecb, 1802if (_ecb == IntPtr.Zero) 1805return UnsafeNativeMethods.EcbCloseConnection(_ecb); 1809if (_ecb == IntPtr.Zero) 1812return UnsafeNativeMethods.EcbMapUrlToPath(_ecb, url, buffer, size); 1816if (_token == IntPtr.Zero && _ecb != IntPtr.Zero) 1817_token = UnsafeNativeMethods.EcbGetImpersonationToken(_ecb, IntPtr.Zero); 1822if (_token == IntPtr.Zero && _ecb != IntPtr.Zero) 1823_token = UnsafeNativeMethods.EcbGetVirtualPathToken(_ecb, IntPtr.Zero); 1829if (_ecb == IntPtr.Zero) 1832return UnsafeNativeMethods.EcbAppendLogParameter(_ecb, logParam); 1837if (_ecb == IntPtr.Zero) 1844int retVal = UnsafeNativeMethods.EcbGetServerVariable(_ecb, name, buf.Buffer, buf.Buffer.Length); 1848retVal = UnsafeNativeMethods.EcbGetServerVariable(_ecb, name, buf.Buffer, buf.Buffer.Length); 1861if (_ecb == IntPtr.Zero) 1876int retVal = UnsafeNativeMethods.EcbGetServerVariableByIndex(_ecb, nameIndex, buf.Buffer, buf.Buffer.Length); 1880retVal = UnsafeNativeMethods.EcbGetServerVariableByIndex(_ecb, nameIndex, buf.Buffer, buf.Buffer.Length); 2005if (_ecb == IntPtr.Zero) 2008return UnsafeNativeMethods.EcbCallISAPI(_ecb, iFunction, bufIn, bufIn.Length, bufOut, bufOut.Length); 2021hr = UnsafeNativeMethods.EcbGetChannelBindingToken(_ecb, out token, out tokenSize); 2050if (IntPtr.Zero != _ecb) { 2055UnsafeNativeMethods.EcbEmitSimpleTrace(_ecb, (int)traceType, message); 2061if (IntPtr.Zero != _ecb) { 2069UnsafeNativeMethods.EcbEmitWebEventTrace(_ecb, webEventType, fieldCount, fieldNames, fieldTypes, fieldData); 2110if (_ecb == IntPtr.Zero) 2139UnsafeNativeMethods.EcbGetBasicsContentInfo(_ecb, contentInfo); 2153if (_ecb == IntPtr.Zero) 2167int hresult = UnsafeNativeMethods.EcbGetUnicodeServerVariables(_ecb, buffer.PinnedAddress, buffer.Length, 2172hresult = UnsafeNativeMethods.EcbGetUnicodeServerVariables(_ecb, buffer.PinnedAddress, buffer.Length, 2198if (_ecb == IntPtr.Zero) 2213int hresult = UnsafeNativeMethods.EcbGetUnicodeServerVariables(_ecb, buffer.PinnedAddress, buffer.Length, 2217hresult = UnsafeNativeMethods.EcbGetUnicodeServerVariables(_ecb, buffer.PinnedAddress, buffer.Length, 2272if (_ecb == IntPtr.Zero) 2274int r = UnsafeNativeMethods.EcbGetUnicodeServerVariable(_ecb, name, buffer.PinnedAddress, buffer.Length); 2278r = UnsafeNativeMethods.EcbGetUnicodeServerVariable(_ecb, name, buffer.PinnedAddress, buffer.Length); 2288if (_ecb == IntPtr.Zero) 2290int r = UnsafeNativeMethods.EcbGetUnicodeServerVariableByIndex(_ecb, nameIndex, buffer.PinnedAddress, buffer.Length); 2294r = UnsafeNativeMethods.EcbGetUnicodeServerVariableByIndex(_ecb, nameIndex, buffer.PinnedAddress, buffer.Length); 2342if (_ecb == IntPtr.Zero) 2388_ecb, 2415UnsafeNativeMethods.EcbFlushCore(_ecb, null, null, 0, 0, 0, null, null, 1, _asyncFinalStatus, 0, 0, null); 2490if (_ecb == IntPtr.Zero || _disableKernelCache) 2527if (_ecb == IntPtr.Zero) { 2605if (_ecb == IntPtr.Zero) 2628hresult = UnsafeNativeMethods.EcbReadClientAsync(_ecb, 2695if (_ecb == IntPtr.Zero || // after done with session 2721rc = UnsafeNativeMethods.EcbExecuteUrlUnicode(_ecb, 2834if (_ecb == IntPtr.Zero) 2838int r = UnsafeNativeMethods.PMGetAllServerVariables(_ecb, buf.Buffer, buf.Buffer.Length); 2842r = UnsafeNativeMethods.PMGetAllServerVariables(_ecb, buf.Buffer, buf.Buffer.Length); 2870if (_ecb == IntPtr.Zero) 2873return UnsafeNativeMethods.PMGetBasics(_ecb, buffer, size, contentInfo); 2877if (_ecb == IntPtr.Zero) 2880return UnsafeNativeMethods.PMGetQueryString(_ecb, encode, buffer, size); 2884if (_ecb == IntPtr.Zero) 2887return UnsafeNativeMethods.PMGetQueryStringRawBytes(_ecb, buffer, size); 2891if (_ecb == IntPtr.Zero) 2893int rc = UnsafeNativeMethods.PMGetPreloadedPostedContent(_ecb, bytes, offset, numBytesToRead); 2900if (_ecb == IntPtr.Zero) 2902int rc = UnsafeNativeMethods.PMGetAdditionalPostedContent(_ecb, bytes, offset, bufferSize); 2909if (_ecb == IntPtr.Zero) 2912return UnsafeNativeMethods.PMIsClientConnected(_ecb); 2961if (_ecb == IntPtr.Zero) 2991_ecb, 3009_ecb, 3024if (_ecb == IntPtr.Zero) 3027return UnsafeNativeMethods.PMCloseConnection(_ecb); 3031if (_ecb == IntPtr.Zero) 3034return UnsafeNativeMethods.PMMapUrlToPath(_ecb, url, buffer, size); 3038if (_token == IntPtr.Zero && _ecb != IntPtr.Zero) 3039_token = UnsafeNativeMethods.PMGetImpersonationToken(_ecb); 3045if (_token == IntPtr.Zero && _ecb != IntPtr.Zero) 3046_token = UnsafeNativeMethods.PMGetVirtualPathToken(_ecb); 3052if (_ecb == IntPtr.Zero) 3055return UnsafeNativeMethods.PMAppendLogParameter(_ecb, logParam); 3059if (_ecb == IntPtr.Zero) 3062return UnsafeNativeMethods.PMGetClientCertificate(_ecb, buffer, buffer.Length, pInts, pDates); 3077if (_ecb == IntPtr.Zero) 3080return UnsafeNativeMethods.PMCallISAPI(_ecb, iFunction, bufIn, bufIn.Length, bufOut, bufOut.Length); 3084if (_ecb == IntPtr.Zero) 3087UnsafeNativeMethods.PMEmptyResponse(_ecb); 3091if (_ecb == IntPtr.Zero || _useBaseTime) 3094long fileTime = UnsafeNativeMethods.PMGetStartTimeStamp(_ecb);