7 instantiations of MailAddressCollection
System.Net.Mail (7)
System\Net\Mail\MailPriority.cs (5)
51
MailAddressCollection collection = new
MailAddressCollection
();
119
internal MailAddressCollection ReplyToList => _replyToList ??= new
MailAddressCollection
();
121
internal MailAddressCollection To => _to ??= new
MailAddressCollection
();
123
internal MailAddressCollection Bcc => _bcc ??= new
MailAddressCollection
();
125
internal MailAddressCollection CC => _cc ??= new
MailAddressCollection
();
System\Net\Mail\SmtpClient.cs (2)
428
MailAddressCollection recipients = new
MailAddressCollection
();
562
_recipients = new
MailAddressCollection
();
22 references to MailAddressCollection
netstandard (1)
netstandard.cs (1)
1173
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.
MailAddressCollection
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
658
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.
MailAddressCollection
))]
System.Net.Mail (20)
System\Net\Mail\MailMessage.cs (4)
107
public
MailAddressCollection
ReplyToList
115
public
MailAddressCollection
To
123
public
MailAddressCollection
Bcc
131
public
MailAddressCollection
CC
System\Net\Mail\MailPriority.cs (9)
24
private
MailAddressCollection
? _replyToList;
26
private
MailAddressCollection
? _to;
27
private
MailAddressCollection
? _cc;
28
private
MailAddressCollection
? _bcc;
51
MailAddressCollection
collection = new MailAddressCollection();
119
internal
MailAddressCollection
ReplyToList => _replyToList ??= new MailAddressCollection();
121
internal
MailAddressCollection
To => _to ??= new MailAddressCollection();
123
internal
MailAddressCollection
Bcc => _bcc ??= new MailAddressCollection();
125
internal
MailAddressCollection
CC => _cc ??= new MailAddressCollection();
System\Net\Mail\SmtpClient.cs (3)
51
private
MailAddressCollection
? _recipients;
428
MailAddressCollection
recipients = new MailAddressCollection();
975
private static void ValidateUnicodeRequirement(MailMessage message,
MailAddressCollection
recipients, bool allowUnicode)
System\Net\Mail\SmtpTransport.cs (4)
149
internal IAsyncResult BeginSendMail(MailAddress sender,
MailAddressCollection
recipients,
193
internal MailWriter SendMail(MailAddress sender,
MailAddressCollection
recipients, string deliveryNotify,
248
private readonly
MailAddressCollection
_toCollection;
253
internal SendMailAsyncResult(SmtpConnection connection, MailAddress from,
MailAddressCollection
toCollection,