Definition at line 6328 of file XmlTextReaderImpl.cs.
6329 {
6330 bool flag = false;
6333 char c = '"';
6336 while (true)
6337 {
6340 {
6341 num++;
6342 continue;
6343 }
6345 {
6346 break;
6347 }
6350 {
6351 case '\n':
6352 num++;
6354 continue;
6355 case '\r':
6356 if (
chars[num + 1] ==
'\n')
6357 {
6358 num += 2;
6359 }
6360 else
6361 {
6363 {
6364 break;
6365 }
6366 num++;
6367 }
6369 continue;
6370 case '<':
6371 if (
chars[num + 1] ==
'?')
6372 {
6374 {
6376 num += 2;
6377 continue;
6378 }
6379 }
6380 else if (
chars[num + 1] ==
'!')
6381 {
6383 {
6384 break;
6385 }
6387 {
6389 num += 4;
6390 continue;
6391 }
6392 }
6394 {
6395 break;
6396 }
6397 num++;
6398 continue;
6399 case '-':
6401 {
6403 {
6404 break;
6405 }
6406 if (
chars[num + 1] ==
'-' &&
chars[num + 2] ==
'>')
6407 {
6409 num += 2;
6410 continue;
6411 }
6412 }
6413 num++;
6414 continue;
6415 case '?':
6417 {
6419 {
6420 break;
6421 }
6422 if (
chars[num + 1] ==
'>')
6423 {
6425 num++;
6426 continue;
6427 }
6428 }
6429 num++;
6430 continue;
6431 case '\t':
6432 case '&':
6433 case '>':
6434 case ']':
6435 num++;
6436 continue;
6437 case '"':
6438 case '\'':
6439 if (flag)
6440 {
6442 {
6443 flag = false;
6444 }
6445 }
6447 {
6448 flag = true;
6450 }
6451 num++;
6452 continue;
6453 default:
6454 {
6456 {
6457 break;
6458 }
6460 if (XmlCharType.IsHighSurrogate(
ch))
6461 {
6463 {
6464 break;
6465 }
6466 num++;
6467 if (XmlCharType.IsLowSurrogate(
chars[num]))
6468 {
6469 num++;
6470 continue;
6471 }
6472 }
6474 break;
6475 }
6476 }
6478 {
6480 {
6482 {
6484 }
6485 }
6486 else
6487 {
6489 }
6490 }
6493 }
6495 }
static string Xml_UnexpectedEOF1
void ThrowInvalidChar(char[] data, int length, int invCharPos)
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.ReadData(), System.Xml.XmlTextReaderImpl.Throw(), System.Xml.XmlTextReaderImpl.ThrowInvalidChar(), and System.SR.Xml_UnexpectedEOF1.
Referenced by System.Xml.XmlTextReaderImpl.SkipDtd(), and System.Xml.XmlTextReaderImpl.SkipPublicOrSystemIdLiteral().