221 references to ScanningFunction
System.Xml (221)
System\Xml\Schema\DtdParser.cs (126)
177
ScanningFunction
scanningFunction;
178
ScanningFunction
nextScaningFunction;
179
ScanningFunction
savedScanningFunction; // this one is used only for adding spaces around parameter entities
361
return scanningFunction ==
ScanningFunction
.CondSection3;
373
return scanningFunction ==
ScanningFunction
.SubsetContent ||
374
( scanningFunction ==
ScanningFunction
.ParamEntitySpace && savedScanningFunction ==
ScanningFunction
.SubsetContent );
429
scanningFunction =
ScanningFunction
.QName;
430
nextScaningFunction =
ScanningFunction
.Doctype1;
599
Debug.Assert( scanningFunction ==
ScanningFunction
.SubsetContent );
1630
if ( needWhiteSpace && !whitespaceSeen && scanningFunction !=
ScanningFunction
.ParamEntitySpace ) {
1636
case
ScanningFunction
.Name: return ScanNameExpected();
1637
case
ScanningFunction
.QName: return ScanQNameExpected();
1638
case
ScanningFunction
.Nmtoken: return ScanNmtokenExpected();
1639
case
ScanningFunction
.SubsetContent: return ScanSubsetContent();
1640
case
ScanningFunction
.Doctype1: return ScanDoctype1();
1641
case
ScanningFunction
.Doctype2: return ScanDoctype2();
1642
case
ScanningFunction
.Element1: return ScanElement1();
1643
case
ScanningFunction
.Element2: return ScanElement2();
1644
case
ScanningFunction
.Element3: return ScanElement3();
1645
case
ScanningFunction
.Element4: return ScanElement4();
1646
case
ScanningFunction
.Element5: return ScanElement5();
1647
case
ScanningFunction
.Element6: return ScanElement6();
1648
case
ScanningFunction
.Element7: return ScanElement7();
1649
case
ScanningFunction
.Attlist1: return ScanAttlist1();
1650
case
ScanningFunction
.Attlist2: return ScanAttlist2();
1651
case
ScanningFunction
.Attlist3: return ScanAttlist3();
1652
case
ScanningFunction
.Attlist4: return ScanAttlist4();
1653
case
ScanningFunction
.Attlist5: return ScanAttlist5();
1654
case
ScanningFunction
.Attlist6: return ScanAttlist6();
1655
case
ScanningFunction
.Attlist7: return ScanAttlist7();
1656
case
ScanningFunction
.Notation1: return ScanNotation1();
1657
case
ScanningFunction
.SystemId: return ScanSystemId();
1658
case
ScanningFunction
.PublicId1: return ScanPublicId1();
1659
case
ScanningFunction
.PublicId2: return ScanPublicId2();
1660
case
ScanningFunction
.Entity1: return ScanEntity1();
1661
case
ScanningFunction
.Entity2: return ScanEntity2();
1662
case
ScanningFunction
.Entity3: return ScanEntity3();
1663
case
ScanningFunction
.CondSection1: return ScanCondSection1();
1664
case
ScanningFunction
.CondSection2: return ScanCondSection2();
1665
case
ScanningFunction
.CondSection3: return ScanCondSection3();
1666
case
ScanningFunction
.ClosingTag: return ScanClosingTag();
1667
case
ScanningFunction
.ParamEntitySpace:
1681
if ( scanningFunction ==
ScanningFunction
.SubsetContent ) {
1709
scanningFunction =
ScanningFunction
.QName;
1710
nextScaningFunction =
ScanningFunction
.Element1;
1722
scanningFunction =
ScanningFunction
.Entity1;
1743
scanningFunction =
ScanningFunction
.QName;
1744
nextScaningFunction =
ScanningFunction
.Attlist1;
1758
scanningFunction =
ScanningFunction
.Name;
1759
nextScaningFunction =
ScanningFunction
.Notation1;
1764
scanningFunction =
ScanningFunction
.CondSection1;
1803
scanningFunction =
ScanningFunction
.ClosingTag;
1852
nextScaningFunction =
ScanningFunction
.Doctype2;
1853
scanningFunction =
ScanningFunction
.PublicId1;
1859
nextScaningFunction =
ScanningFunction
.Doctype2;
1860
scanningFunction =
ScanningFunction
.SystemId;
1864
scanningFunction =
ScanningFunction
.SubsetContent;
1868
scanningFunction =
ScanningFunction
.SubsetContent;
1880
scanningFunction =
ScanningFunction
.SubsetContent;
1884
scanningFunction =
ScanningFunction
.SubsetContent;
1897
scanningFunction =
ScanningFunction
.SubsetContent;
1905
scanningFunction =
ScanningFunction
.Element2;
1915
scanningFunction =
ScanningFunction
.ClosingTag;
1925
scanningFunction =
ScanningFunction
.ClosingTag;
1951
scanningFunction =
ScanningFunction
.Element6;
1959
scanningFunction =
ScanningFunction
.Element3;
1970
scanningFunction =
ScanningFunction
.SubsetContent;
1974
scanningFunction =
ScanningFunction
.Element4;
1980
scanningFunction =
ScanningFunction
.Element5;
2007
scanningFunction =
ScanningFunction
.Element3;
2011
scanningFunction =
ScanningFunction
.Element3;
2015
scanningFunction =
ScanningFunction
.Element4;
2019
scanningFunction =
ScanningFunction
.SubsetContent;
2031
scanningFunction =
ScanningFunction
.Element7;
2035
nextScaningFunction =
ScanningFunction
.Element6;
2036
scanningFunction =
ScanningFunction
.QName;
2045
scanningFunction =
ScanningFunction
.ClosingTag;
2057
scanningFunction =
ScanningFunction
.SubsetContent;
2064
scanningFunction =
ScanningFunction
.Attlist2;
2074
scanningFunction =
ScanningFunction
.Nmtoken;
2075
nextScaningFunction =
ScanningFunction
.Attlist5;
2085
scanningFunction =
ScanningFunction
.Attlist6;
2090
scanningFunction =
ScanningFunction
.Attlist6;
2113
scanningFunction =
ScanningFunction
.Attlist6;
2147
scanningFunction =
ScanningFunction
.Attlist3;
2155
scanningFunction =
ScanningFunction
.Attlist6;
2185
scanningFunction =
ScanningFunction
.Name;
2186
nextScaningFunction =
ScanningFunction
.Attlist4;
2199
scanningFunction =
ScanningFunction
.Attlist6;
2203
scanningFunction =
ScanningFunction
.Name;
2204
nextScaningFunction =
ScanningFunction
.Attlist4;
2216
scanningFunction =
ScanningFunction
.Attlist6;
2220
scanningFunction =
ScanningFunction
.Nmtoken;
2221
nextScaningFunction =
ScanningFunction
.Attlist5;
2236
scanningFunction =
ScanningFunction
.Attlist1;
2252
scanningFunction =
ScanningFunction
.Attlist1;
2263
scanningFunction =
ScanningFunction
.Attlist1;
2271
scanningFunction =
ScanningFunction
.Attlist7;
2294
scanningFunction =
ScanningFunction
.Attlist1;
2535
nextScaningFunction =
ScanningFunction
.ClosingTag;
2536
scanningFunction =
ScanningFunction
.PublicId1;
2542
nextScaningFunction =
ScanningFunction
.ClosingTag;
2543
scanningFunction =
ScanningFunction
.SystemId;
2565
nextScaningFunction =
ScanningFunction
.Entity2;
2566
scanningFunction =
ScanningFunction
.Name;
2571
scanningFunction =
ScanningFunction
.Entity2;
2582
nextScaningFunction =
ScanningFunction
.Entity3;
2583
scanningFunction =
ScanningFunction
.PublicId1;
2589
nextScaningFunction =
ScanningFunction
.Entity3;
2590
scanningFunction =
ScanningFunction
.SystemId;
2596
scanningFunction =
ScanningFunction
.ClosingTag;
2614
scanningFunction =
ScanningFunction
.Name;
2615
nextScaningFunction =
ScanningFunction
.ClosingTag;
2620
scanningFunction =
ScanningFunction
.ClosingTag;
2631
scanningFunction =
ScanningFunction
.PublicId2;
2671
nextScaningFunction =
ScanningFunction
.SubsetContent;
2672
scanningFunction =
ScanningFunction
.CondSection2;
2685
nextScaningFunction =
ScanningFunction
.CondSection3;
2686
scanningFunction =
ScanningFunction
.CondSection2;
2777
scanningFunction =
ScanningFunction
.SubsetContent;
3131
if ( paramEntity && !inLiteral && scanningFunction !=
ScanningFunction
.ParamEntitySpace ) {
3133
scanningFunction =
ScanningFunction
.ParamEntitySpace;
3153
if ( scanningFunction ==
ScanningFunction
.ParamEntitySpace ) {
3163
if ( !inLiteral && scanningFunction !=
ScanningFunction
.ParamEntitySpace ) {
3165
scanningFunction =
ScanningFunction
.ParamEntitySpace;
System\Xml\Schema\DtdParserAsync.cs (95)
72
scanningFunction =
ScanningFunction
.QName;
73
nextScaningFunction =
ScanningFunction
.Doctype1;
244
Debug.Assert( scanningFunction ==
ScanningFunction
.SubsetContent );
1247
if ( needWhiteSpace && !whitespaceSeen && scanningFunction !=
ScanningFunction
.ParamEntitySpace ) {
1253
case
ScanningFunction
.Name: return await ScanNameExpectedAsync().ConfigureAwait(false);
1254
case
ScanningFunction
.QName: return await ScanQNameExpectedAsync().ConfigureAwait(false);
1255
case
ScanningFunction
.Nmtoken: return await ScanNmtokenExpectedAsync().ConfigureAwait(false);
1256
case
ScanningFunction
.SubsetContent: return await ScanSubsetContentAsync().ConfigureAwait(false);
1257
case
ScanningFunction
.Doctype1: return await ScanDoctype1Async().ConfigureAwait(false);
1258
case
ScanningFunction
.Doctype2: return ScanDoctype2();
1259
case
ScanningFunction
.Element1: return await ScanElement1Async().ConfigureAwait(false);
1260
case
ScanningFunction
.Element2: return await ScanElement2Async().ConfigureAwait(false);
1261
case
ScanningFunction
.Element3: return await ScanElement3Async().ConfigureAwait(false);
1262
case
ScanningFunction
.Element4: return ScanElement4();
1263
case
ScanningFunction
.Element5: return ScanElement5();
1264
case
ScanningFunction
.Element6: return ScanElement6();
1265
case
ScanningFunction
.Element7: return ScanElement7();
1266
case
ScanningFunction
.Attlist1: return await ScanAttlist1Async().ConfigureAwait(false);
1267
case
ScanningFunction
.Attlist2: return await ScanAttlist2Async().ConfigureAwait(false);
1268
case
ScanningFunction
.Attlist3: return ScanAttlist3();
1269
case
ScanningFunction
.Attlist4: return ScanAttlist4();
1270
case
ScanningFunction
.Attlist5: return ScanAttlist5();
1271
case
ScanningFunction
.Attlist6: return await ScanAttlist6Async().ConfigureAwait(false);
1272
case
ScanningFunction
.Attlist7: return ScanAttlist7();
1273
case
ScanningFunction
.Notation1: return await ScanNotation1Async().ConfigureAwait(false);
1274
case
ScanningFunction
.SystemId: return await ScanSystemIdAsync().ConfigureAwait(false);
1275
case
ScanningFunction
.PublicId1: return await ScanPublicId1Async().ConfigureAwait(false);
1276
case
ScanningFunction
.PublicId2: return await ScanPublicId2Async().ConfigureAwait(false);
1277
case
ScanningFunction
.Entity1: return await ScanEntity1Async().ConfigureAwait(false);
1278
case
ScanningFunction
.Entity2: return await ScanEntity2Async().ConfigureAwait(false);
1279
case
ScanningFunction
.Entity3: return await ScanEntity3Async().ConfigureAwait(false);
1280
case
ScanningFunction
.CondSection1: return await ScanCondSection1Async().ConfigureAwait(false);
1281
case
ScanningFunction
.CondSection2: return ScanCondSection2();
1282
case
ScanningFunction
.CondSection3: return await ScanCondSection3Async().ConfigureAwait(false);
1283
case
ScanningFunction
.ClosingTag: return ScanClosingTag();
1284
case
ScanningFunction
.ParamEntitySpace:
1298
if ( scanningFunction ==
ScanningFunction
.SubsetContent ) {
1326
scanningFunction =
ScanningFunction
.QName;
1327
nextScaningFunction =
ScanningFunction
.Element1;
1339
scanningFunction =
ScanningFunction
.Entity1;
1360
scanningFunction =
ScanningFunction
.QName;
1361
nextScaningFunction =
ScanningFunction
.Attlist1;
1375
scanningFunction =
ScanningFunction
.Name;
1376
nextScaningFunction =
ScanningFunction
.Notation1;
1381
scanningFunction =
ScanningFunction
.CondSection1;
1420
scanningFunction =
ScanningFunction
.ClosingTag;
1469
nextScaningFunction =
ScanningFunction
.Doctype2;
1470
scanningFunction =
ScanningFunction
.PublicId1;
1476
nextScaningFunction =
ScanningFunction
.Doctype2;
1477
scanningFunction =
ScanningFunction
.SystemId;
1481
scanningFunction =
ScanningFunction
.SubsetContent;
1485
scanningFunction =
ScanningFunction
.SubsetContent;
1497
scanningFunction =
ScanningFunction
.Element2;
1507
scanningFunction =
ScanningFunction
.ClosingTag;
1517
scanningFunction =
ScanningFunction
.ClosingTag;
1543
scanningFunction =
ScanningFunction
.Element6;
1551
scanningFunction =
ScanningFunction
.Element3;
1562
scanningFunction =
ScanningFunction
.SubsetContent;
1566
scanningFunction =
ScanningFunction
.Element4;
1575
scanningFunction =
ScanningFunction
.SubsetContent;
1582
scanningFunction =
ScanningFunction
.Attlist2;
1592
scanningFunction =
ScanningFunction
.Nmtoken;
1593
nextScaningFunction =
ScanningFunction
.Attlist5;
1603
scanningFunction =
ScanningFunction
.Attlist6;
1608
scanningFunction =
ScanningFunction
.Attlist6;
1631
scanningFunction =
ScanningFunction
.Attlist6;
1665
scanningFunction =
ScanningFunction
.Attlist3;
1673
scanningFunction =
ScanningFunction
.Attlist6;
1706
scanningFunction =
ScanningFunction
.Attlist1;
1722
scanningFunction =
ScanningFunction
.Attlist1;
1733
scanningFunction =
ScanningFunction
.Attlist1;
1741
scanningFunction =
ScanningFunction
.Attlist7;
1975
nextScaningFunction =
ScanningFunction
.ClosingTag;
1976
scanningFunction =
ScanningFunction
.PublicId1;
1982
nextScaningFunction =
ScanningFunction
.ClosingTag;
1983
scanningFunction =
ScanningFunction
.SystemId;
2005
nextScaningFunction =
ScanningFunction
.Entity2;
2006
scanningFunction =
ScanningFunction
.Name;
2011
scanningFunction =
ScanningFunction
.Entity2;
2022
nextScaningFunction =
ScanningFunction
.Entity3;
2023
scanningFunction =
ScanningFunction
.PublicId1;
2029
nextScaningFunction =
ScanningFunction
.Entity3;
2030
scanningFunction =
ScanningFunction
.SystemId;
2036
scanningFunction =
ScanningFunction
.ClosingTag;
2054
scanningFunction =
ScanningFunction
.Name;
2055
nextScaningFunction =
ScanningFunction
.ClosingTag;
2060
scanningFunction =
ScanningFunction
.ClosingTag;
2071
scanningFunction =
ScanningFunction
.PublicId2;
2111
nextScaningFunction =
ScanningFunction
.SubsetContent;
2112
scanningFunction =
ScanningFunction
.CondSection2;
2125
nextScaningFunction =
ScanningFunction
.CondSection3;
2126
scanningFunction =
ScanningFunction
.CondSection2;
2208
scanningFunction =
ScanningFunction
.SubsetContent;
2503
if ( paramEntity && !inLiteral && scanningFunction !=
ScanningFunction
.ParamEntitySpace ) {
2505
scanningFunction =
ScanningFunction
.ParamEntitySpace;