2 writes to CanBePooled
System (2)
net\System\Net\_CommandStream.cs (1)
77
CanBePooled
= false;
net\System\Net\_Connection.cs (1)
2932
CanBePooled
= false;
10 references to CanBePooled
System (10)
net\System\Net\_Connection.cs (5)
620
if (!
CanBePooled
)
1020
if (!
CanBePooled
) {
1233
if (!m_KeepAlive || m_Error != WebExceptionStatus.Success || !
CanBePooled
) {
1414
if (!m_KeepAlive || m_Error != WebExceptionStatus.Success || !
CanBePooled
)
3281
if (request.ConnectionReaderAsyncResult.InternalPeekCompleted && request.ConnectionReaderAsyncResult.Result == null &&
CanBePooled
)
net\System\Net\_PooledStream.cs (1)
291
GlobalLog.Assert(
CanBePooled
, "Pooled object is not poolable.");
net\System\Net\connectionpool.cs (4)
376
GlobalLog.Assert(pooledStream.
CanBePooled
, "Pooled object is not poolable.");
400
if (!newObj.
CanBePooled
)
691
if (canReuse && pooledStream.
CanBePooled
) {
731
GlobalLog.Assert(pooledStream.
CanBePooled
, "Non-poolable object in pool.");