System.Net.Mail.Tests.MailAddressParserTest.ReadQuotedString_WithUnicodeAndUnicodeIsInvalid_ShouldThrow C# (CSharp) Метод

ReadQuotedString_WithUnicodeAndUnicodeIsInvalid_ShouldThrow() приватный Метод

private ReadQuotedString_WithUnicodeAndUnicodeIsInvalid_ShouldThrow ( ) : void
Результат void
        public void ReadQuotedString_WithUnicodeAndUnicodeIsInvalid_ShouldThrow()
        {
            int index = UnicodeQuotedString.Length - 1;
            Assert.Throws<FormatException>(() => { QuotedStringFormatReader.ReadReverseUnQuoted(UnicodeQuotedString, index, false, false); });
        }
MailAddressParserTest