7 references to Quote
System.Net.Mail (7)
System\Net\Mail\MailAddressParser.cs (4)
285
if (data[index] == MailBnfHelper.
Quote
)
312
|| data[index] == MailBnfHelper.
Quote
// "display"local@domain
373
if (firstNonCommentIndex >= 0 && data[firstNonCommentIndex] == MailBnfHelper.
Quote
)
382
Debug.Assert(data[index + 1] == MailBnfHelper.
Quote
, $"Mis-aligned index: {index}");
System\Net\Mail\QuotedStringFormatReader.cs (3)
40
Debug.Assert(data[index] == MailBnfHelper.
Quote
, $"Initial char at index {index} was not a quote.");
72
else if (data[index] == MailBnfHelper.
Quote
)
102
throw new FormatException(SR.Format(SR.MailHeaderFieldInvalidCharacter, MailBnfHelper.
Quote
));