5 writes to displayName
System (5)
net\System\Net\mail\MailAddress.cs (5)
33this.displayName = displayName; 75this.displayName = displayName ?? string.Empty; 80this.displayName = MailAddressParser.NormalizeOrThrow(this.displayName); 85this.displayName = this.displayName.Substring(1, this.displayName.Length - 2); 96this.displayName = result.displayName;
15 references to displayName
System (15)
net\System\Net\mail\MailAddress.cs (15)
78if (!String.IsNullOrEmpty(this.displayName)) { 80this.displayName = MailAddressParser.NormalizeOrThrow(this.displayName); 82if (this.displayName.Length >= 2 && this.displayName[0] == '\"' 83&& this.displayName[this.displayName.Length - 1] == '\"') { 85this.displayName = this.displayName.Substring(1, this.displayName.Length - 2); 95if (String.IsNullOrEmpty(this.displayName)) { 96this.displayName = result.displayName; 105return displayName; 219if (!String.IsNullOrEmpty(this.displayName)) 225if (MimeBasePart.IsAscii(this.displayName, false) || allowUnicode) 227encodedAddress = String.Format(CultureInfo.InvariantCulture, "\"{0}\"", this.displayName); 233buffer = displayNameEncoding.GetBytes(this.displayName);