122 writes to _scanningFunction
System.Private.Xml (122)
System\Xml\Schema\DtdParser.cs (71)
432
_scanningFunction
= ScanningFunction.QName;
1653
_scanningFunction
= _savedScanningFunction;
1705
_scanningFunction
= ScanningFunction.QName;
1721
_scanningFunction
= ScanningFunction.Entity1;
1746
_scanningFunction
= ScanningFunction.QName;
1763
_scanningFunction
= ScanningFunction.Name;
1769
_scanningFunction
= ScanningFunction.CondSection1;
1815
_scanningFunction
= ScanningFunction.ClosingTag;
1847
_scanningFunction
= _nextScanningFunction;
1854
_scanningFunction
= _nextScanningFunction;
1861
_scanningFunction
= _nextScanningFunction;
1875
_scanningFunction
= ScanningFunction.PublicId1;
1883
_scanningFunction
= ScanningFunction.SystemId;
1887
_scanningFunction
= ScanningFunction.SubsetContent;
1891
_scanningFunction
= ScanningFunction.SubsetContent;
1905
_scanningFunction
= ScanningFunction.SubsetContent;
1909
_scanningFunction
= ScanningFunction.SubsetContent;
1924
_scanningFunction
= ScanningFunction.SubsetContent;
1935
_scanningFunction
= ScanningFunction.Element2;
1947
_scanningFunction
= ScanningFunction.ClosingTag;
1959
_scanningFunction
= ScanningFunction.ClosingTag;
1990
_scanningFunction
= ScanningFunction.Element6;
1999
_scanningFunction
= ScanningFunction.Element3;
2012
_scanningFunction
= ScanningFunction.SubsetContent;
2016
_scanningFunction
= ScanningFunction.Element4;
2023
_scanningFunction
= ScanningFunction.Element5;
2054
_scanningFunction
= ScanningFunction.Element3;
2058
_scanningFunction
= ScanningFunction.Element3;
2062
_scanningFunction
= ScanningFunction.Element4;
2066
_scanningFunction
= ScanningFunction.SubsetContent;
2080
_scanningFunction
= ScanningFunction.Element7;
2085
_scanningFunction
= ScanningFunction.QName;
2095
_scanningFunction
= ScanningFunction.ClosingTag;
2110
_scanningFunction
= ScanningFunction.SubsetContent;
2118
_scanningFunction
= ScanningFunction.Attlist2;
2131
_scanningFunction
= ScanningFunction.Nmtoken;
2143
_scanningFunction
= ScanningFunction.Attlist6;
2148
_scanningFunction
= ScanningFunction.Attlist6;
2174
_scanningFunction
= ScanningFunction.Attlist6;
2216
_scanningFunction
= ScanningFunction.Attlist3;
2225
_scanningFunction
= ScanningFunction.Attlist6;
2260
_scanningFunction
= ScanningFunction.Name;
2277
_scanningFunction
= ScanningFunction.Attlist6;
2281
_scanningFunction
= ScanningFunction.Name;
2296
_scanningFunction
= ScanningFunction.Attlist6;
2300
_scanningFunction
= ScanningFunction.Nmtoken;
2318
_scanningFunction
= ScanningFunction.Attlist1;
2336
_scanningFunction
= ScanningFunction.Attlist1;
2348
_scanningFunction
= ScanningFunction.Attlist1;
2357
_scanningFunction
= ScanningFunction.Attlist7;
2383
_scanningFunction
= ScanningFunction.Attlist1;
2654
_scanningFunction
= ScanningFunction.PublicId1;
2662
_scanningFunction
= ScanningFunction.SystemId;
2679
_scanningFunction
= _nextScanningFunction;
2689
_scanningFunction
= ScanningFunction.Name;
2695
_scanningFunction
= ScanningFunction.Entity2;
2710
_scanningFunction
= ScanningFunction.PublicId1;
2718
_scanningFunction
= ScanningFunction.SystemId;
2724
_scanningFunction
= ScanningFunction.ClosingTag;
2747
_scanningFunction
= ScanningFunction.Name;
2753
_scanningFunction
= ScanningFunction.ClosingTag;
2766
_scanningFunction
= ScanningFunction.PublicId2;
2774
_scanningFunction
= _nextScanningFunction;
2779
_scanningFunction
= _nextScanningFunction;
2812
_scanningFunction
= ScanningFunction.CondSection2;
2823
_scanningFunction
= ScanningFunction.CondSection2;
2845
_scanningFunction
= _nextScanningFunction;
2921
_scanningFunction
= ScanningFunction.SubsetContent;
3296
_scanningFunction
= ScanningFunction.ParamEntitySpace;
3321
_scanningFunction
= _savedScanningFunction;
3334
_scanningFunction
= ScanningFunction.ParamEntitySpace;
System\Xml\Schema\DtdParserAsync.cs (51)
74
_scanningFunction
= ScanningFunction.QName;
1280
_scanningFunction
= _savedScanningFunction;
1332
_scanningFunction
= ScanningFunction.QName;
1348
_scanningFunction
= ScanningFunction.Entity1;
1373
_scanningFunction
= ScanningFunction.QName;
1390
_scanningFunction
= ScanningFunction.Name;
1396
_scanningFunction
= ScanningFunction.CondSection1;
1442
_scanningFunction
= ScanningFunction.ClosingTag;
1474
_scanningFunction
= _nextScanningFunction;
1481
_scanningFunction
= _nextScanningFunction;
1488
_scanningFunction
= _nextScanningFunction;
1502
_scanningFunction
= ScanningFunction.PublicId1;
1510
_scanningFunction
= ScanningFunction.SystemId;
1514
_scanningFunction
= ScanningFunction.SubsetContent;
1518
_scanningFunction
= ScanningFunction.SubsetContent;
1533
_scanningFunction
= ScanningFunction.Element2;
1545
_scanningFunction
= ScanningFunction.ClosingTag;
1557
_scanningFunction
= ScanningFunction.ClosingTag;
1588
_scanningFunction
= ScanningFunction.Element6;
1597
_scanningFunction
= ScanningFunction.Element3;
1610
_scanningFunction
= ScanningFunction.SubsetContent;
1614
_scanningFunction
= ScanningFunction.Element4;
1625
_scanningFunction
= ScanningFunction.SubsetContent;
1633
_scanningFunction
= ScanningFunction.Attlist2;
1646
_scanningFunction
= ScanningFunction.Nmtoken;
1658
_scanningFunction
= ScanningFunction.Attlist6;
1663
_scanningFunction
= ScanningFunction.Attlist6;
1689
_scanningFunction
= ScanningFunction.Attlist6;
1731
_scanningFunction
= ScanningFunction.Attlist3;
1740
_scanningFunction
= ScanningFunction.Attlist6;
1779
_scanningFunction
= ScanningFunction.Attlist1;
1797
_scanningFunction
= ScanningFunction.Attlist1;
1809
_scanningFunction
= ScanningFunction.Attlist1;
1818
_scanningFunction
= ScanningFunction.Attlist7;
2079
_scanningFunction
= ScanningFunction.PublicId1;
2087
_scanningFunction
= ScanningFunction.SystemId;
2104
_scanningFunction
= _nextScanningFunction;
2114
_scanningFunction
= ScanningFunction.Name;
2120
_scanningFunction
= ScanningFunction.Entity2;
2135
_scanningFunction
= ScanningFunction.PublicId1;
2143
_scanningFunction
= ScanningFunction.SystemId;
2149
_scanningFunction
= ScanningFunction.ClosingTag;
2172
_scanningFunction
= ScanningFunction.Name;
2178
_scanningFunction
= ScanningFunction.ClosingTag;
2191
_scanningFunction
= ScanningFunction.PublicId2;
2199
_scanningFunction
= _nextScanningFunction;
2204
_scanningFunction
= _nextScanningFunction;
2237
_scanningFunction
= ScanningFunction.CondSection2;
2248
_scanningFunction
= ScanningFunction.CondSection2;
2335
_scanningFunction
= ScanningFunction.SubsetContent;
2632
_scanningFunction
= ScanningFunction.ParamEntitySpace;
20 references to _scanningFunction
System.Private.Xml (20)
System\Xml\Schema\DtdParser.cs (13)
359
return
_scanningFunction
== ScanningFunction.CondSection3;
375
return
_scanningFunction
== ScanningFunction.SubsetContent ||
376
(
_scanningFunction
== ScanningFunction.ParamEntitySpace && _savedScanningFunction == ScanningFunction.SubsetContent);
625
Debug.Assert(
_scanningFunction
== ScanningFunction.SubsetContent);
1612
if (needWhiteSpace && !_whitespaceSeen &&
_scanningFunction
!= ScanningFunction.ParamEntitySpace)
1618
switch (
_scanningFunction
)
1656
Debug.Fail($"Unexpected scanning function {
_scanningFunction
}");
1667
if (
_scanningFunction
== ScanningFunction.SubsetContent)
3293
if (paramEntity && !inLiteral &&
_scanningFunction
!= ScanningFunction.ParamEntitySpace)
3295
_savedScanningFunction =
_scanningFunction
;
3319
if (
_scanningFunction
== ScanningFunction.ParamEntitySpace)
3331
if (!inLiteral &&
_scanningFunction
!= ScanningFunction.ParamEntitySpace)
3333
_savedScanningFunction =
_scanningFunction
;
System\Xml\Schema\DtdParserAsync.cs (7)
269
Debug.Assert(
_scanningFunction
== ScanningFunction.SubsetContent);
1239
if (needWhiteSpace && !_whitespaceSeen &&
_scanningFunction
!= ScanningFunction.ParamEntitySpace)
1245
switch (
_scanningFunction
)
1283
Debug.Fail($"Unexpected scanning function {
_scanningFunction
}");
1294
if (
_scanningFunction
== ScanningFunction.SubsetContent)
2629
if (paramEntity && !inLiteral &&
_scanningFunction
!= ScanningFunction.ParamEntitySpace)
2631
_savedScanningFunction =
_scanningFunction
;