73 references to ParsingFunction
System.Private.Xml (73)
System\Xml\Core\XmlValidatingReaderImpl.cs (46)
97
private
ParsingFunction
_parsingFunction =
ParsingFunction
.Init;
174
_parsingFunction =
ParsingFunction
.ParseDtdFromContext;
192
_parsingFunction =
ParsingFunction
.ParseDtdFromContext;
417
return (_parsingFunction ==
ParsingFunction
.Init) ? ReadState.Initial : _coreReader.ReadState;
482
_parsingFunction =
ParsingFunction
.Read;
493
_parsingFunction =
ParsingFunction
.Read;
501
_parsingFunction =
ParsingFunction
.Read;
511
_parsingFunction =
ParsingFunction
.Read;
522
_parsingFunction =
ParsingFunction
.Read;
533
_parsingFunction =
ParsingFunction
.Read;
542
case
ParsingFunction
.Read:
553
case
ParsingFunction
.ParseDtdFromContext:
554
_parsingFunction =
ParsingFunction
.Read;
556
goto case
ParsingFunction
.Read;
557
case
ParsingFunction
.Error:
558
case
ParsingFunction
.ReaderClosed:
560
case
ParsingFunction
.Init:
561
_parsingFunction =
ParsingFunction
.Read; // this changes the value returned by ReadState
569
goto case
ParsingFunction
.Read;
571
case
ParsingFunction
.ResolveEntityInternally:
572
_parsingFunction =
ParsingFunction
.Read;
574
goto case
ParsingFunction
.Read;
575
case
ParsingFunction
.InReadBinaryContent:
576
_parsingFunction =
ParsingFunction
.Read;
578
goto case
ParsingFunction
.Read;
589
_parsingFunction =
ParsingFunction
.ReaderClosed;
601
if (_parsingFunction ==
ParsingFunction
.InReadBinaryContent)
603
_parsingFunction =
ParsingFunction
.Read;
610
_parsingFunction =
ParsingFunction
.Read;
630
if (_parsingFunction !=
ParsingFunction
.InReadBinaryContent)
636
_parsingFunction =
ParsingFunction
.Read;
642
_parsingFunction =
ParsingFunction
.InReadBinaryContent;
654
if (_parsingFunction !=
ParsingFunction
.InReadBinaryContent)
660
_parsingFunction =
ParsingFunction
.Read;
666
_parsingFunction =
ParsingFunction
.InReadBinaryContent;
678
if (_parsingFunction !=
ParsingFunction
.InReadBinaryContent)
684
_parsingFunction =
ParsingFunction
.Read;
690
_parsingFunction =
ParsingFunction
.InReadBinaryContent;
702
if (_parsingFunction !=
ParsingFunction
.InReadBinaryContent)
708
_parsingFunction =
ParsingFunction
.Read;
714
_parsingFunction =
ParsingFunction
.InReadBinaryContent;
730
if (_parsingFunction ==
ParsingFunction
.ResolveEntityInternally)
732
_parsingFunction =
ParsingFunction
.Read;
754
if (_outerReader.NodeType == XmlNodeType.EntityReference && _parsingFunction !=
ParsingFunction
.ResolveEntityInternally)
1111
_parsingFunction =
ParsingFunction
.ResolveEntityInternally;
System\Xml\Core\XmlValidatingReaderImplAsync.cs (27)
30
case
ParsingFunction
.Read:
41
case
ParsingFunction
.ParseDtdFromContext:
42
_parsingFunction =
ParsingFunction
.Read;
44
goto case
ParsingFunction
.Read;
45
case
ParsingFunction
.Error:
46
case
ParsingFunction
.ReaderClosed:
48
case
ParsingFunction
.Init:
49
_parsingFunction =
ParsingFunction
.Read; // this changes the value returned by ReadState
57
goto case
ParsingFunction
.Read;
59
case
ParsingFunction
.ResolveEntityInternally:
60
_parsingFunction =
ParsingFunction
.Read;
62
goto case
ParsingFunction
.Read;
63
case
ParsingFunction
.InReadBinaryContent:
64
_parsingFunction =
ParsingFunction
.Read;
66
goto case
ParsingFunction
.Read;
81
if (_parsingFunction !=
ParsingFunction
.InReadBinaryContent)
87
_parsingFunction =
ParsingFunction
.Read;
93
_parsingFunction =
ParsingFunction
.InReadBinaryContent;
105
if (_parsingFunction !=
ParsingFunction
.InReadBinaryContent)
111
_parsingFunction =
ParsingFunction
.Read;
117
_parsingFunction =
ParsingFunction
.InReadBinaryContent;
129
if (_parsingFunction !=
ParsingFunction
.InReadBinaryContent)
135
_parsingFunction =
ParsingFunction
.Read;
141
_parsingFunction =
ParsingFunction
.InReadBinaryContent;
153
if (_parsingFunction !=
ParsingFunction
.InReadBinaryContent)
159
_parsingFunction =
ParsingFunction
.Read;
165
_parsingFunction =
ParsingFunction
.InReadBinaryContent;