Definition at line 2547 of file DtdParser.cs.
2548 {
2549 int num = 0;
2550 while (true)
2551 {
2553 {
2555 continue;
2556 }
2558 {
2559 case '\t':
2560 case '"':
2561 case '&':
2562 case '\'':
2564 continue;
2565 case '\n':
2568 continue;
2569 case '\r':
2571 {
2573 }
2574 else
2575 {
2577 {
2578 break;
2579 }
2581 }
2583 continue;
2584 case '<':
2586 {
2588 {
2590 continue;
2591 }
2592 num++;
2594 continue;
2595 }
2596 break;
2597 case ']':
2599 {
2600 break;
2601 }
2603 {
2605 continue;
2606 }
2607 if (num > 0)
2608 {
2609 num--;
2611 continue;
2612 }
2615 return Token.CondSectionEnd;
2616 default:
2617 {
2619 {
2620 break;
2621 }
2623 if (XmlCharType.IsHighSurrogate(
ch))
2624 {
2626 {
2627 break;
2628 }
2631 {
2633 continue;
2634 }
2635 }
2637 return Token.None;
2638 }
2639 }
2641 {
2643 {
2644 continue;
2645 }
2647 }
2649 }
2650 }
static string Xml_UnclosedConditionalSection
void Throw(int curPos, string res)
bool HandleEntityEnd(bool inLiteral)
IDtdParserAdapter _readerAdapter
ScanningFunction _scanningFunction
void ThrowInvalidChar(int pos, string data, int invCharPos)
References System.Xml.DtdParser._chars, System.Xml.DtdParser._charsUsed, System.Xml.DtdParser._curPos, System.Xml.DtdParser._readerAdapter, System.Xml.DtdParser._scanningFunction, System.Xml.DtdParser._tokenStartPos, System.ch, System.Xml.DtdParser.HandleEntityEnd(), System.Xml.IDtdParserAdapter.IsEof, System.Xml.XmlCharType.IsHighSurrogate(), System.Xml.XmlCharType.IsLowSurrogate(), System.Xml.XmlCharType.IsTextChar(), System.Xml.IDtdParserAdapter.OnNewLine(), System.Xml.DtdParser.ReadData(), System.Xml.DtdParser.Throw(), System.Xml.DtdParser.ThrowInvalidChar(), and System.SR.Xml_UnclosedConditionalSection.
Referenced by System.Xml.DtdParser.GetToken().