87 writes to parsingFunction
System.Xml (87)
System\Xml\Core\XmlTextReaderImpl.cs (54)
343
parsingFunction
= ParsingFunction.NoData;
377
parsingFunction
= ParsingFunction.SwitchToInteractiveXmlDecl;
465
parsingFunction
= ParsingFunction.SwitchToInteractiveXmlDecl;
615
parsingFunction
= ParsingFunction.OpenUrl;
909
parsingFunction
= nextParsingFunction;
1176
parsingFunction
= nextParsingFunction;
1180
parsingFunction
= nextParsingFunction;
1190
parsingFunction
= ( index == 0 ) ? ParsingFunction.DocumentContent : ParsingFunction.ElementContent;
1196
parsingFunction
= ParsingFunction.ElementContent;
1200
parsingFunction
= nextParsingFunction;
1210
parsingFunction
= nextParsingFunction;
1214
parsingFunction
= nextParsingFunction;
1219
parsingFunction
= nextParsingFunction;
1225
parsingFunction
= nextParsingFunction;
1233
parsingFunction
= nextParsingFunction;
1248
parsingFunction
= ParsingFunction.GoToEof;
1400
parsingFunction
= ParsingFunction.InReadAttributeValue;
1461
parsingFunction
= ParsingFunction.AfterResolveEmptyEntityInContent;
1464
parsingFunction
= ParsingFunction.AfterResolveEntityInContent;
1469
parsingFunction
= ParsingFunction.AfterResolveEmptyEntityInContent;
1744
parsingFunction
= ParsingFunction.InReadValueChunk;
2008
parsingFunction
= ParsingFunction.SwitchToInteractiveXmlDecl;
2525
parsingFunction
= ParsingFunction.Error;
2567
parsingFunction
= nextParsingFunction;
2762
parsingFunction
= ParsingFunction.SwitchToInteractive;
2776
parsingFunction
= ParsingFunction.SwitchToInteractive;
3257
parsingFunction
= ParsingFunction.ReaderClosed;
3321
parsingFunction
= ParsingFunction.ResetAttributesRootLevel;
3524
parsingFunction
= nextParsingFunction;
3667
parsingFunction
= nextParsingFunction;
4019
parsingFunction
= ParsingFunction.MoveToElementContent;
4034
parsingFunction
= ParsingFunction.PopEmptyElementContext;
4233
parsingFunction
= ParsingFunction.PopElementContext;
4320
parsingFunction
= ParsingFunction.MoveToElementContent;
4333
parsingFunction
= ParsingFunction.PopEmptyElementContext;
4989
parsingFunction
= ParsingFunction.PartialTextValue;
5021
parsingFunction
= ParsingFunction.PartialTextValue;
5034
parsingFunction
= nextParsingFunction;
5038
parsingFunction
= nextNextParsingFunction;
5146
parsingFunction
= ParsingFunction.EntityReference;
5234
parsingFunction
= ParsingFunction.ReportEndEntity;
5328
parsingFunction
= nextParsingFunction;
5341
parsingFunction
= nextParsingFunction;
5355
parsingFunction
= nextParsingFunction;
5624
parsingFunction
= ParsingFunction.DocumentContent;
6078
parsingFunction
= ParsingFunction.ResetAttributesRootLevel;
6995
parsingFunction
= ParsingFunction.Eof;
7316
parsingFunction
= ParsingFunction.InIncrementalRead;
7405
parsingFunction
= ParsingFunction.PopElementContext;
7668
parsingFunction
= ParsingFunction.InReadAttributeValue;
7674
parsingFunction
= ParsingFunction.FragmentAttribute;
8034
parsingFunction
= inReadBinaryFunction;
8407
parsingFunction
= nextParsingFunction;
8436
parsingFunction
= nextParsingFunction;
System\Xml\Core\XmlTextReaderImplAsync.cs (33)
50
parsingFunction
= nextParsingFunction;
167
parsingFunction
= nextParsingFunction;
174
parsingFunction
= (index == 0) ? ParsingFunction.DocumentContent : ParsingFunction.ElementContent;
180
parsingFunction
= ParsingFunction.ElementContent;
184
parsingFunction
= nextParsingFunction;
194
parsingFunction
= nextParsingFunction;
198
parsingFunction
= nextParsingFunction;
202
parsingFunction
= nextParsingFunction;
208
parsingFunction
= nextParsingFunction;
216
parsingFunction
= nextParsingFunction;
231
parsingFunction
= ParsingFunction.GoToEof;
261
parsingFunction
= nextParsingFunction;
616
parsingFunction
= ParsingFunction.InReadValueChunk;
1153
parsingFunction
= ParsingFunction.ResetAttributesRootLevel;
1357
parsingFunction
= nextParsingFunction;
1512
parsingFunction
= nextParsingFunction;
1863
parsingFunction
= ParsingFunction.MoveToElementContent;
1874
parsingFunction
= ParsingFunction.PopEmptyElementContext;
2092
parsingFunction
= ParsingFunction.PopElementContext;
2195
parsingFunction
= ParsingFunction.MoveToElementContent;
2208
parsingFunction
= ParsingFunction.PopEmptyElementContext;
2838
parsingFunction
= ParsingFunction.PartialTextValue;
2886
parsingFunction
= ParsingFunction.PartialTextValue;
2903
parsingFunction
= nextParsingFunction;
2907
parsingFunction
= nextNextParsingFunction;
3162
parsingFunction
= ParsingFunction.EntityReference;
3252
parsingFunction
= ParsingFunction.ReportEndEntity;
3366
parsingFunction
= nextParsingFunction;
3388
parsingFunction
= nextParsingFunction;
3405
parsingFunction
= nextParsingFunction;
4130
parsingFunction
= ParsingFunction.ResetAttributesRootLevel;
5048
parsingFunction
= nextParsingFunction;
5077
parsingFunction
= nextParsingFunction;
119 references to parsingFunction
System.Xml (119)
System\Xml\Core\XmlTextReaderImpl.cs (72)
906
if (
parsingFunction
>= ParsingFunction.PartialTextValue ) {
907
if (
parsingFunction
== ParsingFunction.PartialTextValue ) {
980
return
parsingFunction
== ParsingFunction.Eof;
1162
switch (
parsingFunction
) {
1201
Debug.Assert(
parsingFunction
== ParsingFunction.ElementContent ||
1202
parsingFunction
== ParsingFunction.DocumentContent );
1295
switch (
parsingFunction
) {
1330
Debug.Assert(
parsingFunction
!= ParsingFunction.Eof );
1353
if (
parsingFunction
!= ParsingFunction.InReadAttributeValue ) {
1360
if (
parsingFunction
== ParsingFunction.InReadValueChunk ) {
1363
if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
1399
nextParsingFunction =
parsingFunction
;
1437
if (
parsingFunction
== ParsingFunction.InReadAttributeValue ||
1438
parsingFunction
== ParsingFunction.FragmentAttribute ) {
1459
nextParsingFunction =
parsingFunction
;
1468
nextParsingFunction =
parsingFunction
;
1494
parsingFunction
== ParsingFunction.AfterResolveEntityInContent ) {
1531
if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
1543
if (
parsingFunction
== ParsingFunction.InReadElementContentAsBinary ) {
1579
if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
1591
if (
parsingFunction
== ParsingFunction.InReadElementContentAsBinary ) {
1626
if (
parsingFunction
== ParsingFunction.InReadElementContentAsBinary ) {
1638
if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
1674
if (
parsingFunction
== ParsingFunction.InReadElementContentAsBinary ) {
1686
if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
1732
if (
parsingFunction
!= ParsingFunction.InReadValueChunk ) {
1736
if (
parsingFunction
== ParsingFunction.PartialTextValue ) {
1742
nextParsingFunction =
parsingFunction
;
2028
switch (
parsingFunction
) {
2065
if (
parsingFunction
== ParsingFunction.InIncrementalRead ) {
2099
if (
parsingFunction
== ParsingFunction.InIncrementalRead ) {
2129
if (
parsingFunction
== ParsingFunction.InIncrementalRead ) {
2548
return attrCount > 0 &&
parsingFunction
>= ParsingFunction.InReadAttributeValue;
2554
if (
parsingFunction
== ParsingFunction.InReadValueChunk ) {
2557
else if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
2560
if (
parsingFunction
== ParsingFunction.InReadAttributeValue ) {
2766
Debug.Assert(
parsingFunction
== ParsingFunction.SwitchToInteractiveXmlDecl );
2770
Debug.Assert(
parsingFunction
== ParsingFunction.SwitchToInteractiveXmlDecl );
3246
if (
parsingFunction
== ParsingFunction.ReaderClosed ) {
3320
nextParsingFunction =
parsingFunction
;
3666
if (
parsingFunction
== ParsingFunction.EntityReference ) {
3876
int i = (
parsingFunction
== ParsingFunction.InIncrementalRead ) ? index : index - 1;
4033
nextParsingFunction =
parsingFunction
;
4232
nextParsingFunction = ( index > 0 ) ?
parsingFunction
: ParsingFunction.DocumentContent;
4332
nextParsingFunction =
parsingFunction
;
4988
nextParsingFunction =
parsingFunction
;
5020
nextParsingFunction =
parsingFunction
;
5032
if (
parsingFunction
== ParsingFunction.ReportEndEntity ) {
5037
else if (
parsingFunction
== ParsingFunction.EntityReference ) {
5145
nextParsingFunction =
parsingFunction
;
5233
nextParsingFunction =
parsingFunction
;
5263
Debug.Assert(
parsingFunction
== ParsingFunction.PartialTextValue ||
5264
(
parsingFunction
== ParsingFunction.InReadValueChunk && incReadState == IncrementalReadState.ReadValueChunk_OnPartialValue ) );
5282
switch (
parsingFunction
) {
5322
Debug.Assert(
parsingFunction
== ParsingFunction.PartialTextValue ||
parsingFunction
== ParsingFunction.InReadValueChunk ||
5323
parsingFunction
== ParsingFunction.InReadContentAsBinary ||
parsingFunction
== ParsingFunction.InReadElementContentAsBinary );
5333
Debug.Assert(
parsingFunction
== ParsingFunction.InReadValueChunk );
5347
Debug.Assert(
parsingFunction
== ParsingFunction.InReadContentAsBinary ||
parsingFunction
== ParsingFunction.InReadElementContentAsBinary );
5623
if ( index == 0 &&
parsingFunction
== ParsingFunction.ElementContent ) {
6077
nextParsingFunction =
parsingFunction
;
7673
Debug.Assert(
parsingFunction
== ParsingFunction.InReadAttributeValue );
7949
Debug.Assert(
parsingFunction
!= ParsingFunction.InReadContentAsBinary );
7951
if (
parsingFunction
== ParsingFunction.InReadValueChunk ) {
7954
if (
parsingFunction
== ParsingFunction.InIncrementalRead ) {
7970
Debug.Assert(
parsingFunction
!= ParsingFunction.InReadElementContentAsBinary );
8025
if (
parsingFunction
== ParsingFunction.PartialTextValue ) {
8031
nextParsingFunction =
parsingFunction
;
8406
ParsingFunction tmp =
parsingFunction
;
8438
Debug.Assert(
parsingFunction
!= ParsingFunction.InReadElementContentAsBinary );
System\Xml\Core\XmlTextReaderImplAsync.cs (47)
39
if (
parsingFunction
>= ParsingFunction.PartialTextValue) {
47
if (
parsingFunction
>= ParsingFunction.PartialTextValue) {
48
if (
parsingFunction
== ParsingFunction.PartialTextValue) {
153
switch (
parsingFunction
) {
185
Debug.Assert(
parsingFunction
== ParsingFunction.ElementContent ||
186
parsingFunction
== ParsingFunction.DocumentContent);
299
switch (
parsingFunction
) {
334
Debug.Assert(
parsingFunction
!= ParsingFunction.Eof );
378
if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
390
if (
parsingFunction
== ParsingFunction.InReadElementContentAsBinary ) {
433
if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
445
if (
parsingFunction
== ParsingFunction.InReadElementContentAsBinary ) {
496
if (
parsingFunction
== ParsingFunction.InReadElementContentAsBinary ) {
508
if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
551
if (
parsingFunction
== ParsingFunction.InReadElementContentAsBinary ) {
563
if (
parsingFunction
== ParsingFunction.InReadContentAsBinary ) {
604
if (
parsingFunction
!= ParsingFunction.InReadValueChunk ) {
608
if (
parsingFunction
== ParsingFunction.PartialTextValue ) {
614
nextParsingFunction =
parsingFunction
;
1152
nextParsingFunction =
parsingFunction
;
1511
if (
parsingFunction
== ParsingFunction.EntityReference) {
1873
nextParsingFunction =
parsingFunction
;
2091
nextParsingFunction = (index > 0) ?
parsingFunction
: ParsingFunction.DocumentContent;
2207
nextParsingFunction =
parsingFunction
;
2837
nextParsingFunction =
parsingFunction
;
2885
nextParsingFunction =
parsingFunction
;
2901
if (
parsingFunction
== ParsingFunction.ReportEndEntity) {
2906
else if (
parsingFunction
== ParsingFunction.EntityReference) {
3161
nextParsingFunction =
parsingFunction
;
3251
nextParsingFunction =
parsingFunction
;
3288
Debug.Assert(
parsingFunction
== ParsingFunction.PartialTextValue ||
3289
(
parsingFunction
== ParsingFunction.InReadValueChunk && incReadState == IncrementalReadState.ReadValueChunk_OnPartialValue ) );
3320
switch (
parsingFunction
) {
3360
Debug.Assert(
parsingFunction
== ParsingFunction.PartialTextValue ||
parsingFunction
== ParsingFunction.InReadValueChunk ||
3361
parsingFunction
== ParsingFunction.InReadContentAsBinary ||
parsingFunction
== ParsingFunction.InReadElementContentAsBinary );
3380
Debug.Assert(
parsingFunction
== ParsingFunction.InReadValueChunk );
3397
Debug.Assert(
parsingFunction
== ParsingFunction.InReadContentAsBinary ||
parsingFunction
== ParsingFunction.InReadElementContentAsBinary );
4129
nextParsingFunction =
parsingFunction
;
4903
Debug.Assert(
parsingFunction
!= ParsingFunction.InReadContentAsBinary );
4905
if (
parsingFunction
== ParsingFunction.InReadValueChunk ) {
4908
if (
parsingFunction
== ParsingFunction.InIncrementalRead ) {
4924
Debug.Assert(
parsingFunction
!= ParsingFunction.InReadElementContentAsBinary );
5047
ParsingFunction tmp =
parsingFunction
;
5079
Debug.Assert(
parsingFunction
!= ParsingFunction.InReadElementContentAsBinary );