12 implementations of ICloseEx
System (12)
net\System\Net\_ConnectStream.cs (1)
44
internal class ConnectStream : Stream,
ICloseEx
, IRequestLifetimeTracker
net\System\Net\_FtpDataStream.cs (1)
20
internal class FtpDataStream : Stream,
ICloseEx
{
net\System\Net\Cache\_CacheStreams.cs (4)
56
internal class CombinedReadStream : BaseWrapperStream,
ICloseEx
{
366
internal class ForwardingReadStream : BaseWrapperStream,
ICloseEx
{
845
internal class MetadataUpdateStream : BaseWrapperStream,
ICloseEx
{
1045
internal class RangeStream : BaseWrapperStream,
ICloseEx
{
net\System\Net\Cache\IERequestCache.cs (2)
610
private class ReadStream: FileStream,
ICloseEx
, IRequestLifetimeTracker {
798
private class WriteStream: FileStream,
ICloseEx
{
net\System\Net\filewebrequest.cs (1)
560
internal sealed class FileWebStream : FileStream,
ICloseEx
{
net\System\Net\filewebresponse.cs (1)
15
public class FileWebResponse : WebResponse, ISerializable,
ICloseEx
net\System\Net\HttpWebResponse.cs (2)
728
internal class GZipWrapperStream : GZipStream,
ICloseEx
, IRequestLifetimeTracker {
833
internal class DeflateWrapperStream : DeflateStream,
ICloseEx
, IRequestLifetimeTracker {
63 references to ICloseEx
System (63)
net\System\Net\_ConnectStream.cs (3)
2403
((
ICloseEx
)this).CloseEx(CloseExState.Normal);
2417
((
ICloseEx
)this).CloseEx((internalCall ? CloseExState.Silent : CloseExState.Normal));
2420
void
ICloseEx
.CloseEx(CloseExState closeState) {
net\System\Net\_FtpDataStream.cs (3)
47
((
ICloseEx
)this).CloseEx(CloseExState.Normal);
49
((
ICloseEx
)this).CloseEx(CloseExState.Abort | CloseExState.Silent);
56
void
ICloseEx
.CloseEx(CloseExState closeState) {
net\System\Net\Cache\_CacheStreams.cs (24)
297
void
ICloseEx
.CloseEx(CloseExState closeState) {
309
ICloseEx
icloseEx = m_HeadStream as
ICloseEx
;
319
ICloseEx
icloseEx = WrappedStream as
ICloseEx
;
483
if (m_ShadowStream is
ICloseEx
)
484
((
ICloseEx
)m_ShadowStream).CloseEx(CloseExState.Abort | CloseExState.Silent);
585
if (m_ShadowStream is
ICloseEx
)
586
((
ICloseEx
)m_ShadowStream).CloseEx(CloseExState.Abort | CloseExState.Silent);
644
if (m_ShadowStream is
ICloseEx
)
645
((
ICloseEx
)m_ShadowStream).CloseEx(CloseExState.Abort | CloseExState.Silent);
735
if (m_ShadowStream is
ICloseEx
)
736
((
ICloseEx
)m_ShadowStream).CloseEx(CloseExState.Abort | CloseExState.Silent);
752
void
ICloseEx
.CloseEx(CloseExState closeState) {
785
ICloseEx
icloseEx = WrappedStream as
ICloseEx
;
804
if (m_ShadowStream is
ICloseEx
)
805
((
ICloseEx
)m_ShadowStream).CloseEx(closeState);
967
void
ICloseEx
.CloseEx(CloseExState closeState) {
1001
ICloseEx
icloseEx = WrappedStream as
ICloseEx
;
1191
void
ICloseEx
.CloseEx(CloseExState closeState) {
1227
ICloseEx
icloseEx = WrappedStream as
ICloseEx
;
net\System\Net\Cache\_RequestCacheProtocol.cs (2)
259
ICloseEx
closeEx = stream as
ICloseEx
;
net\System\Net\filewebrequest.cs (4)
533
if (requestStream is
ICloseEx
)
534
((
ICloseEx
)requestStream).CloseEx(CloseExState.Abort);
539
((
ICloseEx
)m_response).CloseEx(CloseExState.Abort);
597
void
ICloseEx
.CloseEx(CloseExState closeState) {
net\System\Net\filewebresponse.cs (4)
151
((
ICloseEx
)this).CloseEx(CloseExState.Normal);
154
void
ICloseEx
.CloseEx(CloseExState closeState) {
162
if (chkStream is
ICloseEx
)
163
((
ICloseEx
)chkStream).CloseEx(closeState);
net\System\Net\FtpWebRequest.cs (4)
1209
((
ICloseEx
)stream).CloseEx(CloseExState.Abort|CloseExState.Silent);
1478
((
ICloseEx
)stream).CloseEx(CloseExState.Abort|CloseExState.Silent);
1709
GlobalLog.Assert(stream is
ICloseEx
, "FtpWebRequest.Abort()|The m_Stream member is not CloseEx hence the risk of connection been orphaned.");
1710
((
ICloseEx
)stream).CloseEx(CloseExState.Abort|CloseExState.Silent);
net\System\Net\HttpWebRequest.cs (8)
3606
ICloseEx
closeEx = newResponse.m_ConnectStream as
ICloseEx
;
3684
ICloseEx
closeEx = newResponse.m_ConnectStream as
ICloseEx
;
5999
ICloseEx
icloseEx = _HttpResponse.ResponseStream as
ICloseEx
;
6165
ICloseEx
icloseEx = stream as
ICloseEx
;
net\System\Net\HttpWebResponse.cs (10)
447
ICloseEx
icloseEx = stream as
ICloseEx
;
475
ICloseEx
icloseEx = stream as
ICloseEx
;
733
void
ICloseEx
.CloseEx(CloseExState closeState) {
734
ICloseEx
icloseEx = BaseStream as
ICloseEx
;
838
void
ICloseEx
.CloseEx(CloseExState closeState) {
839
ICloseEx
icloseEx = BaseStream as
ICloseEx
;
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
389
((
ICloseEx
)thisPtr.m_ConnectStream).CloseEx(CloseExState.Abort);