1 write to _headers
System.Net.Mail (1)
System\Net\Mime\MimeBasePart.cs (1)
154
_headers
??= new HeaderCollection();
5 references to _headers
System.Net.Mail (5)
System\Net\Mime\MimeBasePart.cs (5)
157
_contentType.PersistIfNeeded(
_headers
, false);
159
_contentDisposition?.PersistIfNeeded(
_headers
, false);
161
return
_headers
;
180
_headers
!.InternalSet(MailHeaderInfo.GetString(MailHeaderID.ContentType)!, _contentType.Encode(allowUnicode));
185
_headers
.InternalSet(MailHeaderInfo.GetString(MailHeaderID.ContentDisposition)!, _contentDisposition.Encode(allowUnicode));