Definition at line 10448 of file XmlTextReaderImpl.cs.
10449 {
10452 while (true)
10453 {
10454 int num = 0;
10455 while (true)
10456 {
10457 char c;
10459 if (XmlCharType.IsWhiteSpace(c =
chars[pos]))
10460 {
10461 switch (c)
10462 {
10463 case '\n':
10465 num++;
10467 case '\r':
10468 if (
chars[pos + 1] ==
'\n')
10469 {
10471 num++;
10472 pos++;
10474 }
10476 {
10478 num++;
10480 }
10481 break;
10482 default:
10484 }
10486 }
10487 else
10488 {
10491 if (XmlCharType.IsStartNCNameSingleChar(
c2 =
chars[pos]))
10492 {
10494 }
10496 {
10498 }
10500 {
10504 }
10506 {
10508 {
10509 if (
chars[pos + 1] ==
'>')
10510 {
10516 }
10519 }
10520 }
10522 {
10524 {
10526 }
10528 }
10529 }
10532 {
10535 }
10536 else
10537 {
10539 }
10540 break;
10543 {
10545 }
10548 {
10551 }
10553 {
10555 }
10556 return;
10558 pos++;
10559 continue;
10562 {
10564 }
10569 while (true)
10570 {
10572 if (XmlCharType.IsNCNameSingleChar(
c3 =
chars[pos]))
10573 {
10574 pos++;
10575 continue;
10576 }
10578 {
10580 {
10582 {
10584 break;
10585 }
10586 pos++;
10587 continue;
10588 }
10590 pos++;
10591 if (XmlCharType.IsStartNCNameSingleChar(
chars[pos]))
10592 {
10593 pos++;
10594 continue;
10595 }
10600 break;
10601 }
10603 {
10608 }
10609 break;
10610 }
10613 if (
chars[pos] !=
'=')
10614 {
10618 if (
chars[pos] !=
'=')
10619 {
10621 }
10622 }
10623 pos++;
10625 if (
c4 !=
'"' &&
c4 !=
'\'')
10626 {
10631 if (
c4 !=
'"' &&
c4 !=
'\'')
10632 {
10634 }
10635 }
10636 pos++;
10641 while (XmlCharType.IsAttributeValueChar(
c5 =
chars[pos]))
10642 {
10643 pos++;
10644 }
10646 {
10648 pos++;
10650 }
10651 else
10652 {
10656 }
10657 if (
attr.prefix.Length == 0)
10658 {
10660 {
10662 }
10663 }
10665 {
10667 }
10669 {
10671 }
10672 break;
10673 }
10674 }
10675 }
static string Xml_BadStartNameChar
static string Xml_BadNameChar
void ThrowExpectingWhitespace(int pos)
async Task ParseAttributeValueSlowAsync(int curPos, char quoteChar, NodeData attr)
void ElementNamespaceLookup()
void OnXmlReservedAttribute(NodeData attr)
bool _addDefaultAttributesAndNormalize
void OnDefaultNamespaceDecl(NodeData attr)
void OnNamespaceDecl(NodeData attr)
async Task< int > ReadDataAsync()
NodeData AddAttribute(int endNamePos, int colonPos)
ParsingFunction _nextParsingFunction
ParsingFunction _parsingFunction
Task<(int, int)> ParseQNameAsync()
void AddDefaultAttributesAndNormalize()
async Task< int > EatWhitespacesAsync(StringBuilder sb)
void Throw(int pos, string res, string arg)
bool _attrNeedNamespaceLookup
void AttributeDuplCheck()
void ThrowUnexpectedToken(int pos, string expectedToken)
void ThrowUnclosedElements()
void AttributeNamespaceLookup()
References System.Xml.XmlTextReaderImpl._addDefaultAttributesAndNormalize, System.Xml.XmlTextReaderImpl._attrDuplWalkCount, System.Xml.XmlTextReaderImpl._attrNeedNamespaceLookup, System.Xml.XmlTextReaderImpl._nextParsingFunction, System.Xml.XmlTextReaderImpl._parsingFunction, System.Xml.XmlTextReaderImpl._ps, System.Xml.XmlTextReaderImpl._supportNamespaces, System.Xml.XmlTextReaderImpl._xml, System.Xml.XmlTextReaderImpl._xmlNs, System.Xml.XmlTextReaderImpl.AddAttribute(), System.Xml.XmlTextReaderImpl.AddDefaultAttributesAndNormalize(), System.Xml.XmlTextReaderImpl.AttributeDuplCheck(), System.Xml.XmlTextReaderImpl.AttributeNamespaceLookup(), System.Xml.XmlException.BuildCharExceptionArgs(), System.Xml.XmlTextReaderImpl.ParsingState.charPos, System.chars, System.Xml.XmlTextReaderImpl.ParsingState.chars, System.Xml.XmlTextReaderImpl.ParsingState.charsUsed, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.EatWhitespacesAsync(), System.Xml.XmlTextReaderImpl.ElementNamespaceLookup(), System.Xml.Ref.Equal(), System.Xml.XmlTextReaderImpl.int, System.Xml.XmlCharType.IsAttributeValueChar(), System.Xml.XmlCharType.IsNCNameSingleChar(), System.Xml.XmlCharType.IsStartNCNameSingleChar(), System.Xml.XmlCharType.IsWhiteSpace(), System.Xml.XmlTextReaderImpl.ParsingState.LineNo, System.Xml.XmlTextReaderImpl.ParsingState.LinePos, System.Xml.XmlTextReaderImpl.OnDefaultNamespaceDecl(), System.Xml.XmlTextReaderImpl.OnNamespaceDecl(), System.Xml.XmlTextReaderImpl.OnNewLine(), System.Xml.XmlTextReaderImpl.OnXmlReservedAttribute(), System.Xml.XmlTextReaderImpl.ParseAttributeValueSlowAsync(), System.Xml.XmlTextReaderImpl.ParseQNameAsync(), System.Xml.XmlTextReaderImpl.ReadDataAsync(), System.Xml.XmlTextReaderImpl.Throw(), System.Xml.XmlTextReaderImpl.ThrowExpectingWhitespace(), System.Xml.XmlTextReaderImpl.ThrowUnclosedElements(), System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(), System.SR.Xml_BadNameChar, and System.SR.Xml_BadStartNameChar.
Referenced by System.Xml.XmlTextReaderImpl.ParseElementAsync_SetElement().