7 instantiations of MailAddressCollection
System.Net.Mail (7)
System\Net\Mail\MailPriority.cs (5)
51MailAddressCollection collection = new MailAddressCollection(); 119internal MailAddressCollection ReplyToList => _replyToList ??= new MailAddressCollection(); 121internal MailAddressCollection To => _to ??= new MailAddressCollection(); 123internal MailAddressCollection Bcc => _bcc ??= new MailAddressCollection(); 125internal MailAddressCollection CC => _cc ??= new MailAddressCollection();
System\Net\Mail\SmtpClient.cs (2)
428MailAddressCollection 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)
107public MailAddressCollection ReplyToList 115public MailAddressCollection To 123public MailAddressCollection Bcc 131public MailAddressCollection CC
System\Net\Mail\MailPriority.cs (9)
24private MailAddressCollection? _replyToList; 26private MailAddressCollection? _to; 27private MailAddressCollection? _cc; 28private MailAddressCollection? _bcc; 51MailAddressCollection collection = new MailAddressCollection(); 119internal MailAddressCollection ReplyToList => _replyToList ??= new MailAddressCollection(); 121internal MailAddressCollection To => _to ??= new MailAddressCollection(); 123internal MailAddressCollection Bcc => _bcc ??= new MailAddressCollection(); 125internal MailAddressCollection CC => _cc ??= new MailAddressCollection();
System\Net\Mail\SmtpClient.cs (3)
51private MailAddressCollection? _recipients; 428MailAddressCollection recipients = new MailAddressCollection(); 975private static void ValidateUnicodeRequirement(MailMessage message, MailAddressCollection recipients, bool allowUnicode)
System\Net\Mail\SmtpTransport.cs (4)
149internal IAsyncResult BeginSendMail(MailAddress sender, MailAddressCollection recipients, 193internal MailWriter SendMail(MailAddress sender, MailAddressCollection recipients, string deliveryNotify, 248private readonly MailAddressCollection _toCollection; 253internal SendMailAsyncResult(SmtpConnection connection, MailAddress from, MailAddressCollection toCollection,