2 writes to _wr
System.Web (2)
70 references to _wr
System.Web (70)
HttpResponse.cs (70)
335if ( !(_wr is IIS7WorkerRequest) ) {
502if (_wr == null)
528_wr.SendStatus(this.StatusCode, this.StatusDescription);
534_wr.SetHeaderEncoding(this.HeaderEncoding);
542header.Send(_wr);
572IIS7WorkerRequest iis7WorkerRequest = _wr as IIS7WorkerRequest;
623_wr.SendCalculatedContentLength(bufferedLength);
628String protocol = _wr.GetHttpVersion();
678_wr.SendResponseFromMemory(chunkPrefix, chunkPrefix.Length);
680_httpWriter.Send(_wr);
682_wr.SendResponseFromMemory(s_chunkSuffix, s_chunkSuffix.Length);
686_wr.SendResponseFromMemory(s_chunkEnd, s_chunkEnd.Length);
689_httpWriter.Send(_wr);
694_wr.FlushResponse(finalFlush);
696_wr.UpdateResponseCounters(finalFlush, (int)bufferedLength);
723return (_wr != null && _wr.SupportsAsyncFlush);
738if (_wr != null && _wr.SupportsAsyncFlush && !_context.IsInCancellablePeriod) {
740return _wr.BeginFlush(callback, state);
758if (_wr != null && _wr.SupportsAsyncFlush && !_context.IsInCancellablePeriod) {
762if (!(_wr is IIS7WorkerRequest)) {
765_wr.EndFlush(asyncResult);
816string kernelCacheUrl = _wr.SetupKernelCaching(secondsToLive, originalCacheUrl, enableKernelCacheForVaryByStar);
831if (_wr == null) {
835_wr.DisableKernelCache();
843if (_wr == null) {
847_wr.DisableUserCache();
863IIS7WorkerRequest iis7WorkerRequest = _wr as IIS7WorkerRequest;
922if ( !(_wr is IIS7WorkerRequest) ) {
927_headers = new HttpHeaderCollection(_wr, this, 16);
1091IIS7WorkerRequest iis7WorkerRequest = _wr as IIS7WorkerRequest;
1337if (_wr != null) {
1338_wr.TrySkipIisCustomErrors = true;
1476Debug.Assert(_wr is IIS7WorkerRequest, "_wr is IIS7WorkerRequest");
1480_wr.SendStatus(_statusCode, _subStatusCode, this.StatusDescription);
1513if ( !(_wr is IIS7WorkerRequest) ) {
1520if ( !(_wr is IIS7WorkerRequest) ) {
1537if (subStatus >= 0 && _wr is IIS7WorkerRequest) {
1569if (_wr != null) {
1570return _wr.TrySkipIisCustomErrors;
1575if (_wr != null) {
1576_wr.TrySkipIisCustomErrors = value;
1632if (_wr is IIS7WorkerRequest) {
1820if (_wr != null && !_wr.IsClientConnected()) {
1867IIS7WorkerRequest wr = _wr as IIS7WorkerRequest;
1910if (!_clientDisconnected && !_completed && _wr != null) {
1911_wr.CloseConnection();
1966IIS7WorkerRequest iis7WorkerRequest = _wr as IIS7WorkerRequest;
2043if (_wr is IIS7WorkerRequest) {
2163IIS7WorkerRequest iis7WorkerRequest = _wr as IIS7WorkerRequest;
2197IIS7WorkerRequest iis7WorkerRequest = _wr as IIS7WorkerRequest;
2255if (!(_wr is IIS7WorkerRequest)) {
2278if (_wr is System.Web.Hosting.ISAPIWorkerRequest)
2279((System.Web.Hosting.ISAPIWorkerRequest)_wr).AppendLogParameter(param);
2280else if (_wr is System.Web.Hosting.IIS7WorkerRequest)
2525if (_wr == null || !_wr.SupportsExecuteUrl) {
2606IAsyncResult ar = _wr.BeginExecuteUrl(
2612_wr.GetUserToken(),
2629_wr.EndExecuteUrl(result);
2672_httpWriter.WriteSubstBlock(callback, _wr as IIS7WorkerRequest);
2835bool supportsLongTransmitFile = (_wr != null && _wr.SupportsLongTransmitFile);
3012IIS7WorkerRequest wr = (IIS7WorkerRequest) _wr;
3356IIS7WorkerRequest iis7WorkerRequest = _wr as IIS7WorkerRequest;
3400_wr.SendStatus(this.StatusCode, this.SubStatusCode, this.StatusDescription);
3478_httpWriter.Send(_wr);