221 references to ScanningFunction
System.Private.Xml (221)
System\Xml\Schema\DtdParser.cs (126)
163
private
ScanningFunction
_scanningFunction;
164
private
ScanningFunction
_nextScanningFunction;
165
private
ScanningFunction
_savedScanningFunction; // this one is used only for adding spaces around parameter entities
359
return _scanningFunction ==
ScanningFunction
.CondSection3;
375
return _scanningFunction ==
ScanningFunction
.SubsetContent ||
376
(_scanningFunction ==
ScanningFunction
.ParamEntitySpace && _savedScanningFunction ==
ScanningFunction
.SubsetContent);
432
_scanningFunction =
ScanningFunction
.QName;
433
_nextScanningFunction =
ScanningFunction
.Doctype1;
625
Debug.Assert(_scanningFunction ==
ScanningFunction
.SubsetContent);
1612
if (needWhiteSpace && !_whitespaceSeen && _scanningFunction !=
ScanningFunction
.ParamEntitySpace)
1620
case
ScanningFunction
.Name: return ScanNameExpected();
1621
case
ScanningFunction
.QName: return ScanQNameExpected();
1622
case
ScanningFunction
.Nmtoken: return ScanNmtokenExpected();
1623
case
ScanningFunction
.SubsetContent: return ScanSubsetContent();
1624
case
ScanningFunction
.Doctype1: return ScanDoctype1();
1625
case
ScanningFunction
.Doctype2: return ScanDoctype2();
1626
case
ScanningFunction
.Element1: return ScanElement1();
1627
case
ScanningFunction
.Element2: return ScanElement2();
1628
case
ScanningFunction
.Element3: return ScanElement3();
1629
case
ScanningFunction
.Element4: return ScanElement4();
1630
case
ScanningFunction
.Element5: return ScanElement5();
1631
case
ScanningFunction
.Element6: return ScanElement6();
1632
case
ScanningFunction
.Element7: return ScanElement7();
1633
case
ScanningFunction
.Attlist1: return ScanAttlist1();
1634
case
ScanningFunction
.Attlist2: return ScanAttlist2();
1635
case
ScanningFunction
.Attlist3: return ScanAttlist3();
1636
case
ScanningFunction
.Attlist4: return ScanAttlist4();
1637
case
ScanningFunction
.Attlist5: return ScanAttlist5();
1638
case
ScanningFunction
.Attlist6: return ScanAttlist6();
1639
case
ScanningFunction
.Attlist7: return ScanAttlist7();
1640
case
ScanningFunction
.Notation1: return ScanNotation1();
1641
case
ScanningFunction
.SystemId: return ScanSystemId();
1642
case
ScanningFunction
.PublicId1: return ScanPublicId1();
1643
case
ScanningFunction
.PublicId2: return ScanPublicId2();
1644
case
ScanningFunction
.Entity1: return ScanEntity1();
1645
case
ScanningFunction
.Entity2: return ScanEntity2();
1646
case
ScanningFunction
.Entity3: return ScanEntity3();
1647
case
ScanningFunction
.CondSection1: return ScanCondSection1();
1648
case
ScanningFunction
.CondSection2: return ScanCondSection2();
1649
case
ScanningFunction
.CondSection3: return ScanCondSection3();
1650
case
ScanningFunction
.ClosingTag: return ScanClosingTag();
1651
case
ScanningFunction
.ParamEntitySpace:
1667
if (_scanningFunction ==
ScanningFunction
.SubsetContent)
1705
_scanningFunction =
ScanningFunction
.QName;
1706
_nextScanningFunction =
ScanningFunction
.Element1;
1721
_scanningFunction =
ScanningFunction
.Entity1;
1746
_scanningFunction =
ScanningFunction
.QName;
1747
_nextScanningFunction =
ScanningFunction
.Attlist1;
1763
_scanningFunction =
ScanningFunction
.Name;
1764
_nextScanningFunction =
ScanningFunction
.Notation1;
1769
_scanningFunction =
ScanningFunction
.CondSection1;
1815
_scanningFunction =
ScanningFunction
.ClosingTag;
1874
_nextScanningFunction =
ScanningFunction
.Doctype2;
1875
_scanningFunction =
ScanningFunction
.PublicId1;
1882
_nextScanningFunction =
ScanningFunction
.Doctype2;
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;
2084
_nextScanningFunction =
ScanningFunction
.Element6;
2085
_scanningFunction =
ScanningFunction
.QName;
2095
_scanningFunction =
ScanningFunction
.ClosingTag;
2110
_scanningFunction =
ScanningFunction
.SubsetContent;
2118
_scanningFunction =
ScanningFunction
.Attlist2;
2131
_scanningFunction =
ScanningFunction
.Nmtoken;
2132
_nextScanningFunction =
ScanningFunction
.Attlist5;
2143
_scanningFunction =
ScanningFunction
.Attlist6;
2148
_scanningFunction =
ScanningFunction
.Attlist6;
2174
_scanningFunction =
ScanningFunction
.Attlist6;
2216
_scanningFunction =
ScanningFunction
.Attlist3;
2225
_scanningFunction =
ScanningFunction
.Attlist6;
2260
_scanningFunction =
ScanningFunction
.Name;
2261
_nextScanningFunction =
ScanningFunction
.Attlist4;
2277
_scanningFunction =
ScanningFunction
.Attlist6;
2281
_scanningFunction =
ScanningFunction
.Name;
2282
_nextScanningFunction =
ScanningFunction
.Attlist4;
2296
_scanningFunction =
ScanningFunction
.Attlist6;
2300
_scanningFunction =
ScanningFunction
.Nmtoken;
2301
_nextScanningFunction =
ScanningFunction
.Attlist5;
2318
_scanningFunction =
ScanningFunction
.Attlist1;
2336
_scanningFunction =
ScanningFunction
.Attlist1;
2348
_scanningFunction =
ScanningFunction
.Attlist1;
2357
_scanningFunction =
ScanningFunction
.Attlist7;
2383
_scanningFunction =
ScanningFunction
.Attlist1;
2653
_nextScanningFunction =
ScanningFunction
.ClosingTag;
2654
_scanningFunction =
ScanningFunction
.PublicId1;
2661
_nextScanningFunction =
ScanningFunction
.ClosingTag;
2662
_scanningFunction =
ScanningFunction
.SystemId;
2688
_nextScanningFunction =
ScanningFunction
.Entity2;
2689
_scanningFunction =
ScanningFunction
.Name;
2695
_scanningFunction =
ScanningFunction
.Entity2;
2709
_nextScanningFunction =
ScanningFunction
.Entity3;
2710
_scanningFunction =
ScanningFunction
.PublicId1;
2717
_nextScanningFunction =
ScanningFunction
.Entity3;
2718
_scanningFunction =
ScanningFunction
.SystemId;
2724
_scanningFunction =
ScanningFunction
.ClosingTag;
2747
_scanningFunction =
ScanningFunction
.Name;
2748
_nextScanningFunction =
ScanningFunction
.ClosingTag;
2753
_scanningFunction =
ScanningFunction
.ClosingTag;
2766
_scanningFunction =
ScanningFunction
.PublicId2;
2811
_nextScanningFunction =
ScanningFunction
.SubsetContent;
2812
_scanningFunction =
ScanningFunction
.CondSection2;
2822
_nextScanningFunction =
ScanningFunction
.CondSection3;
2823
_scanningFunction =
ScanningFunction
.CondSection2;
2921
_scanningFunction =
ScanningFunction
.SubsetContent;
3293
if (paramEntity && !inLiteral && _scanningFunction !=
ScanningFunction
.ParamEntitySpace)
3296
_scanningFunction =
ScanningFunction
.ParamEntitySpace;
3319
if (_scanningFunction ==
ScanningFunction
.ParamEntitySpace)
3331
if (!inLiteral && _scanningFunction !=
ScanningFunction
.ParamEntitySpace)
3334
_scanningFunction =
ScanningFunction
.ParamEntitySpace;
System\Xml\Schema\DtdParserAsync.cs (95)
74
_scanningFunction =
ScanningFunction
.QName;
75
_nextScanningFunction =
ScanningFunction
.Doctype1;
269
Debug.Assert(_scanningFunction ==
ScanningFunction
.SubsetContent);
1239
if (needWhiteSpace && !_whitespaceSeen && _scanningFunction !=
ScanningFunction
.ParamEntitySpace)
1247
case
ScanningFunction
.Name: return await ScanNameExpectedAsync().ConfigureAwait(false);
1248
case
ScanningFunction
.QName: return await ScanQNameExpectedAsync().ConfigureAwait(false);
1249
case
ScanningFunction
.Nmtoken: return await ScanNmtokenExpectedAsync().ConfigureAwait(false);
1250
case
ScanningFunction
.SubsetContent: return await ScanSubsetContentAsync().ConfigureAwait(false);
1251
case
ScanningFunction
.Doctype1: return await ScanDoctype1Async().ConfigureAwait(false);
1252
case
ScanningFunction
.Doctype2: return ScanDoctype2();
1253
case
ScanningFunction
.Element1: return await ScanElement1Async().ConfigureAwait(false);
1254
case
ScanningFunction
.Element2: return await ScanElement2Async().ConfigureAwait(false);
1255
case
ScanningFunction
.Element3: return await ScanElement3Async().ConfigureAwait(false);
1256
case
ScanningFunction
.Element4: return ScanElement4();
1257
case
ScanningFunction
.Element5: return ScanElement5();
1258
case
ScanningFunction
.Element6: return ScanElement6();
1259
case
ScanningFunction
.Element7: return ScanElement7();
1260
case
ScanningFunction
.Attlist1: return await ScanAttlist1Async().ConfigureAwait(false);
1261
case
ScanningFunction
.Attlist2: return await ScanAttlist2Async().ConfigureAwait(false);
1262
case
ScanningFunction
.Attlist3: return ScanAttlist3();
1263
case
ScanningFunction
.Attlist4: return ScanAttlist4();
1264
case
ScanningFunction
.Attlist5: return ScanAttlist5();
1265
case
ScanningFunction
.Attlist6: return await ScanAttlist6Async().ConfigureAwait(false);
1266
case
ScanningFunction
.Attlist7: return ScanAttlist7();
1267
case
ScanningFunction
.Notation1: return await ScanNotation1Async().ConfigureAwait(false);
1268
case
ScanningFunction
.SystemId: return await ScanSystemIdAsync().ConfigureAwait(false);
1269
case
ScanningFunction
.PublicId1: return await ScanPublicId1Async().ConfigureAwait(false);
1270
case
ScanningFunction
.PublicId2: return await ScanPublicId2Async().ConfigureAwait(false);
1271
case
ScanningFunction
.Entity1: return await ScanEntity1Async().ConfigureAwait(false);
1272
case
ScanningFunction
.Entity2: return await ScanEntity2Async().ConfigureAwait(false);
1273
case
ScanningFunction
.Entity3: return await ScanEntity3Async().ConfigureAwait(false);
1274
case
ScanningFunction
.CondSection1: return await ScanCondSection1Async().ConfigureAwait(false);
1275
case
ScanningFunction
.CondSection2: return ScanCondSection2();
1276
case
ScanningFunction
.CondSection3: return await ScanCondSection3Async().ConfigureAwait(false);
1277
case
ScanningFunction
.ClosingTag: return ScanClosingTag();
1278
case
ScanningFunction
.ParamEntitySpace:
1294
if (_scanningFunction ==
ScanningFunction
.SubsetContent)
1332
_scanningFunction =
ScanningFunction
.QName;
1333
_nextScanningFunction =
ScanningFunction
.Element1;
1348
_scanningFunction =
ScanningFunction
.Entity1;
1373
_scanningFunction =
ScanningFunction
.QName;
1374
_nextScanningFunction =
ScanningFunction
.Attlist1;
1390
_scanningFunction =
ScanningFunction
.Name;
1391
_nextScanningFunction =
ScanningFunction
.Notation1;
1396
_scanningFunction =
ScanningFunction
.CondSection1;
1442
_scanningFunction =
ScanningFunction
.ClosingTag;
1501
_nextScanningFunction =
ScanningFunction
.Doctype2;
1502
_scanningFunction =
ScanningFunction
.PublicId1;
1509
_nextScanningFunction =
ScanningFunction
.Doctype2;
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;
1647
_nextScanningFunction =
ScanningFunction
.Attlist5;
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;
2078
_nextScanningFunction =
ScanningFunction
.ClosingTag;
2079
_scanningFunction =
ScanningFunction
.PublicId1;
2086
_nextScanningFunction =
ScanningFunction
.ClosingTag;
2087
_scanningFunction =
ScanningFunction
.SystemId;
2113
_nextScanningFunction =
ScanningFunction
.Entity2;
2114
_scanningFunction =
ScanningFunction
.Name;
2120
_scanningFunction =
ScanningFunction
.Entity2;
2134
_nextScanningFunction =
ScanningFunction
.Entity3;
2135
_scanningFunction =
ScanningFunction
.PublicId1;
2142
_nextScanningFunction =
ScanningFunction
.Entity3;
2143
_scanningFunction =
ScanningFunction
.SystemId;
2149
_scanningFunction =
ScanningFunction
.ClosingTag;
2172
_scanningFunction =
ScanningFunction
.Name;
2173
_nextScanningFunction =
ScanningFunction
.ClosingTag;
2178
_scanningFunction =
ScanningFunction
.ClosingTag;
2191
_scanningFunction =
ScanningFunction
.PublicId2;
2236
_nextScanningFunction =
ScanningFunction
.SubsetContent;
2237
_scanningFunction =
ScanningFunction
.CondSection2;
2247
_nextScanningFunction =
ScanningFunction
.CondSection3;
2248
_scanningFunction =
ScanningFunction
.CondSection2;
2335
_scanningFunction =
ScanningFunction
.SubsetContent;
2629
if (paramEntity && !inLiteral && _scanningFunction !=
ScanningFunction
.ParamEntitySpace)
2632
_scanningFunction =
ScanningFunction
.ParamEntitySpace;