Definition at line 10677 of file XmlTextReaderImpl.cs.
10678 {
10685 while (true)
10686 {
10687 if (XmlCharType.IsAttributeValueChar(
chars[pos]))
10688 {
10689 pos++;
10690 continue;
10691 }
10693 {
10696 }
10698 {
10699 break;
10700 }
10701 switch (
chars[pos])
10702 {
10703 case '\n':
10704 pos++;
10707 {
10710 }
10711 continue;
10712 case '\r':
10713 if (
chars[pos + 1] ==
'\n')
10714 {
10715 pos += 2;
10717 {
10720 }
10721 }
10722 else
10723 {
10725 {
10726 break;
10727 }
10728 pos++;
10730 {
10733 }
10734 }
10736 continue;
10737 case '\t':
10738 pos++;
10740 {
10743 }
10744 continue;
10745 case '"':
10746 case '\'':
10747 case '>':
10748 pos++;
10749 continue;
10750 case '<':
10752 break;
10753 case '&':
10754 {
10756 {
10758 }
10764 switch (
tuple.Item2)
10765 {
10768 {
10771 {
10777 }
10791 }
10792 else
10793 {
10796 }
10798 break;
10801 {
10803 if (num > 0)
10804 {
10805 NodeData
nodeData =
new NodeData();
10810 }
10817 }
10819 break;
10820 default:
10822 break;
10826 break;
10827 }
10829 continue;
10830 }
10831 default:
10832 {
10834 {
10835 break;
10836 }
10838 if (XmlCharType.IsHighSurrogate(
ch))
10839 {
10841 {
10842 break;
10843 }
10844 pos++;
10845 if (XmlCharType.IsLowSurrogate(
chars[pos]))
10846 {
10847 pos++;
10848 continue;
10849 }
10850 }
10852 break;
10853 }
10854 }
10856 {
10858 {
10860 {
10862 }
10863 }
10864 else
10865 {
10867 {
10869 {
10871 {
10873 }
10874 break;
10875 }
10877 }
10879 {
10881 }
10883 {
10886 }
10887 }
10888 }
10891 }
10892 if (
attr.nextAttrValueChunk !=
null)
10893 {
10896 {
10902 }
10903 }
10907 }
static string Xml_BadAttributeChar
static string Xml_UnexpectedEOF1
static string Xml_UnclosedQuote
static string Xml_EntityRefNesting
static string Xml_InternalError
override string ToString()
StringBuilder Append(char value, int repeatCount)
void ThrowInvalidChar(char[] data, int length, int invCharPos)
readonly StringBuilder _stringBuilder
async Task< string > ParseEntityNameAsync()
void AddAttributeChunkToList(NodeData attr, NodeData chunk, ref NodeData lastChunk)
async Task< int > ReadDataAsync()
XmlNodeType _fragmentType
async Task<(int, EntityType)> HandleEntityReferenceAsync(bool isInAttributeValue, EntityExpandType expandType)
bool HandleEntityEnd(bool checkEntityNesting)
void Throw(int pos, string res, string arg)
References System.Xml.XmlTextReaderImpl._fragmentType, System.Xml.XmlTextReaderImpl._fullAttrCleanup, System.Xml.XmlTextReaderImpl._normalize, System.Xml.XmlTextReaderImpl._parsingMode, System.Xml.XmlTextReaderImpl._ps, System.Xml.XmlTextReaderImpl._stringBuilder, System.Xml.XmlTextReaderImpl.AddAttributeChunkToList(), System.Text.StringBuilder.Append(), System.Xml.XmlException.BuildCharExceptionArgs(), System.ch, System.Xml.XmlTextReaderImpl.ParsingState.charPos, System.chars, System.Xml.XmlTextReaderImpl.ParsingState.chars, System.Xml.XmlTextReaderImpl.ParsingState.charsUsed, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.ParsingState.entity, System.Xml.XmlTextReaderImpl.ParsingState.entityId, System.Xml.XmlTextReaderImpl.ParsingState.eolNormalized, System.Xml.XmlTextReaderImpl.HandleEntityEnd(), System.Xml.XmlTextReaderImpl.HandleEntityReferenceAsync(), System.Xml.XmlTextReaderImpl.int, System.Xml.XmlCharType.IsAttributeValueChar(), System.Xml.XmlTextReaderImpl.ParsingState.isEof, System.Xml.XmlCharType.IsHighSurrogate(), System.Xml.XmlCharType.IsLowSurrogate(), System.Text.StringBuilder.Length, System.Xml.XmlTextReaderImpl.ParsingState.lineNo, System.Xml.XmlTextReaderImpl.ParsingState.LineNo, System.Xml.XmlTextReaderImpl.ParsingState.LinePos, System.Xml.IDtdEntityInfo.Name, System.Xml.XmlTextReaderImpl.OnNewLine(), System.Xml.XmlTextReaderImpl.ParseEntityNameAsync(), System.Xml.XmlTextReaderImpl.ReadDataAsync(), System.text, System.Xml.XmlTextReaderImpl.Throw(), System.Xml.XmlTextReaderImpl.ThrowInvalidChar(), System.Text.StringBuilder.ToString(), System.SR.Xml_BadAttributeChar, System.SR.Xml_EntityRefNesting, System.SR.Xml_InternalError, System.SR.Xml_UnclosedQuote, and System.SR.Xml_UnexpectedEOF1.
Referenced by System.Xml.XmlTextReaderImpl.ParseAttributesAsync().