1 instantiation of SmtpPooledStream
System (1)
net\System\Net\mail\smtpconnection.cs (1)
21
return (PooledStream)new
SmtpPooledStream
(pool, TimeSpan.MaxValue, false);
17 references to SmtpPooledStream
System (17)
net\System\Net\mail\smtpconnection.cs (17)
99
return ((
SmtpPooledStream
)pooledStream).dsnEnabled;
158
SmtpPooledStream
smtpPooledStream = (
SmtpPooledStream
)pooledStream;
211
((
SmtpPooledStream
)pooledStream).previouslyUsed = true;
274
((
SmtpPooledStream
)pooledStream).dsnEnabled = true;
280
((
SmtpPooledStream
)pooledStream).serverSupportsEai = true;
328
while (((
SmtpPooledStream
)pooledStream).creds != null && ((
SmtpPooledStream
)pooledStream).creds != credentials) {
341
((
SmtpPooledStream
)pooledStream).creds = credentials;
349
if (((
SmtpPooledStream
)pooledStream).previouslyUsed == true) {
608
SmtpPooledStream
pooledStream = (
SmtpPooledStream
)(PooledStream)state;
617
pooledStream = (
SmtpPooledStream
)ConnectAndHandshakeAsyncResult.connection.connectionPool.GetConnection((object)ConnectAndHandshakeAsyncResult, ConnectAndHandshakeAsyncResult.m_ConnectionCreatedCallback, ConnectAndHandshakeAsyncResult.connection.Timeout);
669
SmtpPooledStream
pooledStream = (
SmtpPooledStream
)connection.connectionPool.GetConnection((object)this, (synchronous ? null : m_ConnectionCreatedCallback), connection.Timeout);
678
pooledStream = (
SmtpPooledStream
)connection.connectionPool.GetConnection((object)this, (synchronous ? null : m_ConnectionCreatedCallback), connection.Timeout);
711
if (((
SmtpPooledStream
)connection.pooledStream).previouslyUsed == true) {