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)
359return _scanningFunction == ScanningFunction.CondSection3; 375return _scanningFunction == ScanningFunction.SubsetContent || 376(_scanningFunction == ScanningFunction.ParamEntitySpace && _savedScanningFunction == ScanningFunction.SubsetContent); 625Debug.Assert(_scanningFunction == ScanningFunction.SubsetContent); 1612if (needWhiteSpace && !_whitespaceSeen && _scanningFunction != ScanningFunction.ParamEntitySpace) 1618switch (_scanningFunction) 1656Debug.Fail($"Unexpected scanning function {_scanningFunction}"); 1667if (_scanningFunction == ScanningFunction.SubsetContent) 3293if (paramEntity && !inLiteral && _scanningFunction != ScanningFunction.ParamEntitySpace) 3295_savedScanningFunction = _scanningFunction; 3319if (_scanningFunction == ScanningFunction.ParamEntitySpace) 3331if (!inLiteral && _scanningFunction != ScanningFunction.ParamEntitySpace) 3333_savedScanningFunction = _scanningFunction;
System\Xml\Schema\DtdParserAsync.cs (7)
269Debug.Assert(_scanningFunction == ScanningFunction.SubsetContent); 1239if (needWhiteSpace && !_whitespaceSeen && _scanningFunction != ScanningFunction.ParamEntitySpace) 1245switch (_scanningFunction) 1283Debug.Fail($"Unexpected scanning function {_scanningFunction}"); 1294if (_scanningFunction == ScanningFunction.SubsetContent) 2629if (paramEntity && !inLiteral && _scanningFunction != ScanningFunction.ParamEntitySpace) 2631_savedScanningFunction = _scanningFunction;