5 writes to bodyView
System (5)
net\System\Net\mail\MailMessage.cs (5)
294bodyView = null; 299bodyView = AlternateView.CreateAlternateViewFromString(body, bodyEncoding, (isBodyHtml?MediaTypeNames.Text.Html:null)); 307bodyView = AlternateView.CreateAlternateViewFromString(body, bodyEncoding, (isBodyHtml?MediaTypeNames.Text.Html:null)); 310bodyView = AlternateView.CreateAlternateViewFromString(string.Empty); 333bodyView = AlternateView.CreateAlternateViewFromString(body, bodyEncoding, null);
9 references to bodyView
System (9)
net\System\Net\mail\MailMessage.cs (9)
282if(bodyView != null){ 283bodyView.Dispose(); 292if(bodyView != null){ 293bodyView.Dispose(); 300message.Content = bodyView.MimePart; 313part.Parts.Add(bodyView.MimePart); 334viewsPart.Parts.Add(bodyView.MimePart); 394if (bodyView != null && bodyTransferEncoding != TransferEncoding.Unknown) 396bodyView.TransferEncoding = bodyTransferEncoding;