Definition at line 3901 of file XmlTextReaderImpl.cs.
3902 {
3903 bool flag = false;
3904 while (true)
3905 {
3909 if (
chars[charPos] ==
'<')
3910 {
3913 {
3914 charPos++;
3915 switch (
chars[charPos])
3916 {
3917 case '?':
3920 {
3921 continue;
3922 }
3923 return true;
3924 case '!':
3925 charPos++;
3927 {
3928 break;
3929 }
3930 if (
chars[charPos] ==
'-')
3931 {
3932 if (
chars[charPos + 1] ==
'-')
3933 {
3936 {
3937 continue;
3938 }
3939 return true;
3940 }
3942 break;
3943 }
3944 if (
chars[charPos] ==
'[')
3945 {
3947 {
3948 charPos++;
3950 {
3951 break;
3952 }
3953 if (XmlConvert.StrEqual(
chars, charPos, 6,
"CDATA["))
3954 {
3958 {
3960 }
3961 return true;
3962 }
3964 }
3965 else
3966 {
3968 }
3969 break;
3970 }
3972 {
3976 {
3977 continue;
3978 }
3979 return true;
3980 }
3982 {
3984 }
3985 else
3986 {
3988 }
3989 break;
3990 case '/':
3992 break;
3993 default:
3995 {
3997 {
3999 }
4001 {
4003 }
4004 }
4008 return true;
4009 }
4010 }
4011 }
4012 else if (
chars[charPos] ==
'&')
4013 {
4015 {
4017 {
4019 }
4022 {
4025 {
4027 }
4029 return true;
4034 {
4035 return true;
4036 }
4037 break;
4038 default:
4041 break;
4042 }
4043 continue;
4044 }
4046 }
4048 {
4050 {
4052 {
4053 return true;
4054 }
4055 }
4057 {
4059 {
4061 }
4062 return true;
4063 }
4064 continue;
4065 }
4067 {
4071 continue;
4072 }
4074 {
4076 }
4078 {
4079 break;
4080 }
4082 {
4084 return true;
4085 }
4086 }
4088 {
4090 }
4092 {
4094 }
4096 return false;
4097 }
static string Xml_BadDTDLocation
static string Xml_MissingRoot
static string Xml_MultipleRoots
static string Xml_InvalidRootData
static string Xml_UnexpectedEndTag
void SetupEndEntityNodeInContent()
ParsingFunction _nextParsingFunction
XmlNodeType _fragmentType
string ParseUnexpectedToken()
void ParseEntityReference()
ParsingFunction _parsingFunction
void ThrowWithoutLineInfo(string res)
EntityType HandleEntityReference(bool isInAttributeValue, EntityExpandType expandType, out int charRefEndPos)
bool ParseRootLevelWhitespace()
bool HandleEntityEnd(bool checkEntityNesting)
void Throw(int pos, string res, string arg)
void ThrowUnexpectedToken(int pos, string expectedToken)
References System.Xml.XmlTextReaderImpl._curNode, System.Xml.XmlTextReaderImpl._fragmentType, System.Xml.XmlTextReaderImpl._nextParsingFunction, System.Xml.XmlTextReaderImpl._parsingFunction, System.Xml.XmlTextReaderImpl._ps, System.Xml.XmlTextReaderImpl._rootElementParsed, System.Xml.XmlTextReaderImpl._v1Compat, System.Xml.XmlTextReaderImpl.ParsingState.charPos, System.chars, System.Xml.XmlTextReaderImpl.ParsingState.chars, System.Xml.XmlTextReaderImpl.ParsingState.charsUsed, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.HandleEntityEnd(), System.Xml.XmlTextReaderImpl.HandleEntityReference(), System.Xml.XmlTextReaderImpl.OnEof(), System.Xml.XmlTextReaderImpl.ParseCData(), System.Xml.XmlTextReaderImpl.ParseComment(), System.Xml.XmlTextReaderImpl.ParseDoctypeDecl(), System.Xml.XmlTextReaderImpl.ParseElement(), System.Xml.XmlTextReaderImpl.ParseEntityReference(), System.Xml.XmlTextReaderImpl.ParsePI(), System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace(), System.Xml.XmlTextReaderImpl.ParseText(), System.Xml.XmlTextReaderImpl.ParseUnexpectedToken(), System.Xml.XmlTextReaderImpl.ReadData(), System.Xml.XmlTextReaderImpl.SetupEndEntityNodeInContent(), System.Xml.XmlConvert.StrEqual(), System.Xml.XmlTextReaderImpl.Throw(), System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(), System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(), System.Xml.XmlTextReaderImpl.NodeData.type, System.SR.Xml_BadDTDLocation, System.SR.Xml_InvalidRootData, System.SR.Xml_MissingRoot, System.SR.Xml_MultipleRoots, and System.SR.Xml_UnexpectedEndTag.
Referenced by System.Xml.XmlTextReaderImpl.Read().