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