3 instantiations of Attachment
System.Net.Mail (3)
System\Net\Mail\Attachment.cs (3)
415Attachment a = new Attachment(); 423Attachment a = new Attachment(); 431Attachment a = new Attachment();
14 references to Attachment
netstandard (1)
netstandard.cs (1)
1166[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.Attachment))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
651[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.Attachment))]
System.Net.Mail (12)
System\Net\Mail\Attachment.cs (6)
413public static Attachment CreateAttachmentFromString(string content, string? name) 415Attachment a = new Attachment(); 421public static Attachment CreateAttachmentFromString(string content, string? name, Encoding? contentEncoding, string? mediaType) 423Attachment a = new Attachment(); 429public static Attachment CreateAttachmentFromString(string content, ContentType contentType) 431Attachment a = new Attachment();
System\Net\Mail\AttachmentCollection.cs (4)
12public sealed class AttachmentCollection : Collection<Attachment>, IDisposable 23foreach (Attachment attachment in this) 45protected override void SetItem(int index, Attachment item) 52protected override void InsertItem(int index, Attachment item)
System\Net\Mail\MailMessage.cs (2)
345foreach (Attachment attachment in Attachments) 403foreach (Attachment attachment in Attachments)