221 references to ScanningFunction
System.Private.Xml (221)
System\Xml\Schema\DtdParser.cs (126)
163private ScanningFunction _scanningFunction; 164private ScanningFunction _nextScanningFunction; 165private ScanningFunction _savedScanningFunction; // this one is used only for adding spaces around parameter entities 359return _scanningFunction == ScanningFunction.CondSection3; 375return _scanningFunction == ScanningFunction.SubsetContent || 376(_scanningFunction == ScanningFunction.ParamEntitySpace && _savedScanningFunction == ScanningFunction.SubsetContent); 432_scanningFunction = ScanningFunction.QName; 433_nextScanningFunction = ScanningFunction.Doctype1; 625Debug.Assert(_scanningFunction == ScanningFunction.SubsetContent); 1612if (needWhiteSpace && !_whitespaceSeen && _scanningFunction != ScanningFunction.ParamEntitySpace) 1620case ScanningFunction.Name: return ScanNameExpected(); 1621case ScanningFunction.QName: return ScanQNameExpected(); 1622case ScanningFunction.Nmtoken: return ScanNmtokenExpected(); 1623case ScanningFunction.SubsetContent: return ScanSubsetContent(); 1624case ScanningFunction.Doctype1: return ScanDoctype1(); 1625case ScanningFunction.Doctype2: return ScanDoctype2(); 1626case ScanningFunction.Element1: return ScanElement1(); 1627case ScanningFunction.Element2: return ScanElement2(); 1628case ScanningFunction.Element3: return ScanElement3(); 1629case ScanningFunction.Element4: return ScanElement4(); 1630case ScanningFunction.Element5: return ScanElement5(); 1631case ScanningFunction.Element6: return ScanElement6(); 1632case ScanningFunction.Element7: return ScanElement7(); 1633case ScanningFunction.Attlist1: return ScanAttlist1(); 1634case ScanningFunction.Attlist2: return ScanAttlist2(); 1635case ScanningFunction.Attlist3: return ScanAttlist3(); 1636case ScanningFunction.Attlist4: return ScanAttlist4(); 1637case ScanningFunction.Attlist5: return ScanAttlist5(); 1638case ScanningFunction.Attlist6: return ScanAttlist6(); 1639case ScanningFunction.Attlist7: return ScanAttlist7(); 1640case ScanningFunction.Notation1: return ScanNotation1(); 1641case ScanningFunction.SystemId: return ScanSystemId(); 1642case ScanningFunction.PublicId1: return ScanPublicId1(); 1643case ScanningFunction.PublicId2: return ScanPublicId2(); 1644case ScanningFunction.Entity1: return ScanEntity1(); 1645case ScanningFunction.Entity2: return ScanEntity2(); 1646case ScanningFunction.Entity3: return ScanEntity3(); 1647case ScanningFunction.CondSection1: return ScanCondSection1(); 1648case ScanningFunction.CondSection2: return ScanCondSection2(); 1649case ScanningFunction.CondSection3: return ScanCondSection3(); 1650case ScanningFunction.ClosingTag: return ScanClosingTag(); 1651case ScanningFunction.ParamEntitySpace: 1667if (_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; 3293if (paramEntity && !inLiteral && _scanningFunction != ScanningFunction.ParamEntitySpace) 3296_scanningFunction = ScanningFunction.ParamEntitySpace; 3319if (_scanningFunction == ScanningFunction.ParamEntitySpace) 3331if (!inLiteral && _scanningFunction != ScanningFunction.ParamEntitySpace) 3334_scanningFunction = ScanningFunction.ParamEntitySpace;
System\Xml\Schema\DtdParserAsync.cs (95)
74_scanningFunction = ScanningFunction.QName; 75_nextScanningFunction = ScanningFunction.Doctype1; 269Debug.Assert(_scanningFunction == ScanningFunction.SubsetContent); 1239if (needWhiteSpace && !_whitespaceSeen && _scanningFunction != ScanningFunction.ParamEntitySpace) 1247case ScanningFunction.Name: return await ScanNameExpectedAsync().ConfigureAwait(false); 1248case ScanningFunction.QName: return await ScanQNameExpectedAsync().ConfigureAwait(false); 1249case ScanningFunction.Nmtoken: return await ScanNmtokenExpectedAsync().ConfigureAwait(false); 1250case ScanningFunction.SubsetContent: return await ScanSubsetContentAsync().ConfigureAwait(false); 1251case ScanningFunction.Doctype1: return await ScanDoctype1Async().ConfigureAwait(false); 1252case ScanningFunction.Doctype2: return ScanDoctype2(); 1253case ScanningFunction.Element1: return await ScanElement1Async().ConfigureAwait(false); 1254case ScanningFunction.Element2: return await ScanElement2Async().ConfigureAwait(false); 1255case ScanningFunction.Element3: return await ScanElement3Async().ConfigureAwait(false); 1256case ScanningFunction.Element4: return ScanElement4(); 1257case ScanningFunction.Element5: return ScanElement5(); 1258case ScanningFunction.Element6: return ScanElement6(); 1259case ScanningFunction.Element7: return ScanElement7(); 1260case ScanningFunction.Attlist1: return await ScanAttlist1Async().ConfigureAwait(false); 1261case ScanningFunction.Attlist2: return await ScanAttlist2Async().ConfigureAwait(false); 1262case ScanningFunction.Attlist3: return ScanAttlist3(); 1263case ScanningFunction.Attlist4: return ScanAttlist4(); 1264case ScanningFunction.Attlist5: return ScanAttlist5(); 1265case ScanningFunction.Attlist6: return await ScanAttlist6Async().ConfigureAwait(false); 1266case ScanningFunction.Attlist7: return ScanAttlist7(); 1267case ScanningFunction.Notation1: return await ScanNotation1Async().ConfigureAwait(false); 1268case ScanningFunction.SystemId: return await ScanSystemIdAsync().ConfigureAwait(false); 1269case ScanningFunction.PublicId1: return await ScanPublicId1Async().ConfigureAwait(false); 1270case ScanningFunction.PublicId2: return await ScanPublicId2Async().ConfigureAwait(false); 1271case ScanningFunction.Entity1: return await ScanEntity1Async().ConfigureAwait(false); 1272case ScanningFunction.Entity2: return await ScanEntity2Async().ConfigureAwait(false); 1273case ScanningFunction.Entity3: return await ScanEntity3Async().ConfigureAwait(false); 1274case ScanningFunction.CondSection1: return await ScanCondSection1Async().ConfigureAwait(false); 1275case ScanningFunction.CondSection2: return ScanCondSection2(); 1276case ScanningFunction.CondSection3: return await ScanCondSection3Async().ConfigureAwait(false); 1277case ScanningFunction.ClosingTag: return ScanClosingTag(); 1278case ScanningFunction.ParamEntitySpace: 1294if (_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; 2629if (paramEntity && !inLiteral && _scanningFunction != ScanningFunction.ParamEntitySpace) 2632_scanningFunction = ScanningFunction.ParamEntitySpace;