Definition at line 12281 of file XmlTextReaderImpl.cs.
12282 {
12289 while (true)
12290 {
12291 char c;
12292 if (XmlCharType.IsAttributeValueChar(c =
chars[num]) && c !=
stopChar && c !=
'-' && c !=
'?')
12293 {
12294 num++;
12295 continue;
12296 }
12298 {
12299 break;
12300 }
12302 switch (c)
12303 {
12304 case '\n':
12305 num++;
12307 continue;
12308 case '\r':
12309 if (
chars[num + 1] ==
'\n')
12310 {
12311 num += 2;
12312 }
12313 else
12314 {
12316 {
12317 break;
12318 }
12319 num++;
12320 }
12322 continue;
12323 case '<':
12324 if (
chars[num + 1] ==
'?')
12325 {
12327 {
12329 num += 2;
12330 continue;
12331 }
12332 }
12333 else if (
chars[num + 1] ==
'!')
12334 {
12336 {
12337 break;
12338 }
12340 {
12342 num += 4;
12343 continue;
12344 }
12345 }
12347 {
12348 break;
12349 }
12350 num++;
12351 continue;
12352 case '-':
12354 {
12356 {
12357 break;
12358 }
12359 if (
chars[num + 1] ==
'-' &&
chars[num + 2] ==
'>')
12360 {
12362 num += 2;
12363 continue;
12364 }
12365 }
12366 num++;
12367 continue;
12368 case '?':
12370 {
12372 {
12373 break;
12374 }
12375 if (
chars[num + 1] ==
'>')
12376 {
12378 num++;
12379 continue;
12380 }
12381 }
12382 num++;
12383 continue;
12384 case '\t':
12385 case '&':
12386 case '>':
12387 case ']':
12388 num++;
12389 continue;
12390 case '"':
12391 case '\'':
12393 {
12395 {
12397 }
12398 }
12400 {
12403 }
12404 num++;
12405 continue;
12406 default:
12407 {
12409 {
12410 break;
12411 }
12413 if (XmlCharType.IsHighSurrogate(
ch))
12414 {
12416 {
12417 break;
12418 }
12419 num++;
12420 if (XmlCharType.IsLowSurrogate(
chars[num]))
12421 {
12422 num++;
12423 continue;
12424 }
12425 }
12427 break;
12428 }
12429 }
12431 {
12433 {
12435 {
12437 }
12438 }
12439 else
12440 {
12442 }
12443 }
12446 }
12448 }
static string Xml_UnexpectedEOF1
void ThrowInvalidChar(char[] data, int length, int invCharPos)
async Task< int > ReadDataAsync()
void Throw(int pos, string res, string arg)
References System.Xml.XmlTextReaderImpl._ps, System.ch, System.Xml.XmlTextReaderImpl.ParsingState.charPos, System.chars, System.Xml.XmlTextReaderImpl.ParsingState.chars, System.Xml.XmlTextReaderImpl.ParsingState.charsUsed, System.Xml.Dictionary, System.Xml.XmlCharType.IsAttributeValueChar(), System.Xml.XmlTextReaderImpl.ParsingState.isEof, System.Xml.XmlCharType.IsHighSurrogate(), System.Xml.XmlCharType.IsLowSurrogate(), System.Xml.XmlTextReaderImpl.OnNewLine(), System.Xml.XmlTextReaderImpl.ReadDataAsync(), System.Xml.XmlTextReaderImpl.Throw(), System.Xml.XmlTextReaderImpl.ThrowInvalidChar(), and System.SR.Xml_UnexpectedEOF1.
Referenced by System.Xml.XmlTextReaderImpl.SkipDtdAsync(), and System.Xml.XmlTextReaderImpl.SkipPublicOrSystemIdLiteralAsync().