87 writes to _parsingFunction
System.Private.Xml (87)
System\Xml\Core\XmlTextReaderImpl.cs (54)
301_parsingFunction = ParsingFunction.NoData; 338_parsingFunction = ParsingFunction.SwitchToInteractiveXmlDecl; 425_parsingFunction = ParsingFunction.SwitchToInteractiveXmlDecl; 579_parsingFunction = ParsingFunction.OpenUrl; 911_parsingFunction = _nextParsingFunction; 1239_parsingFunction = _nextParsingFunction; 1243_parsingFunction = _nextParsingFunction; 1254_parsingFunction = (_index == 0) ? ParsingFunction.DocumentContent : ParsingFunction.ElementContent; 1260_parsingFunction = ParsingFunction.ElementContent; 1264_parsingFunction = _nextParsingFunction; 1274_parsingFunction = _nextParsingFunction; 1277_parsingFunction = _nextParsingFunction; 1282_parsingFunction = _nextParsingFunction; 1288_parsingFunction = _nextParsingFunction; 1296_parsingFunction = _nextParsingFunction; 1309_parsingFunction = ParsingFunction.GoToEof; 1466_parsingFunction = ParsingFunction.InReadAttributeValue; 1531_parsingFunction = ParsingFunction.AfterResolveEmptyEntityInContent; 1535_parsingFunction = ParsingFunction.AfterResolveEntityInContent; 1540_parsingFunction = ParsingFunction.AfterResolveEmptyEntityInContent; 1816_parsingFunction = ParsingFunction.InReadValueChunk; 2147_parsingFunction = ParsingFunction.SwitchToInteractiveXmlDecl; 2761_parsingFunction = ParsingFunction.Error; 2805_parsingFunction = _nextParsingFunction; 3000_parsingFunction = ParsingFunction.SwitchToInteractive; 3015_parsingFunction = ParsingFunction.SwitchToInteractive; 3567_parsingFunction = ParsingFunction.ReaderClosed; 3640_parsingFunction = ParsingFunction.ResetAttributesRootLevel; 3866_parsingFunction = _nextParsingFunction; 4031_parsingFunction = _nextParsingFunction; 4406_parsingFunction = ParsingFunction.MoveToElementContent; 4425_parsingFunction = ParsingFunction.PopEmptyElementContext; 4646_parsingFunction = ParsingFunction.PopElementContext; 4730_parsingFunction = ParsingFunction.MoveToElementContent; 4746_parsingFunction = ParsingFunction.PopEmptyElementContext; 5467_parsingFunction = ParsingFunction.PartialTextValue; 5506_parsingFunction = ParsingFunction.PartialTextValue; 5519_parsingFunction = _nextParsingFunction; 5524_parsingFunction = _nextNextParsingFunction; 5641_parsingFunction = ParsingFunction.EntityReference; 5742_parsingFunction = ParsingFunction.ReportEndEntity; 5844_parsingFunction = _nextParsingFunction; 5860_parsingFunction = _nextParsingFunction; 5877_parsingFunction = _nextParsingFunction; 6175_parsingFunction = ParsingFunction.DocumentContent; 6713_parsingFunction = ParsingFunction.ResetAttributesRootLevel; 7754_parsingFunction = ParsingFunction.Eof; 8133_parsingFunction = ParsingFunction.InIncrementalRead; 8245_parsingFunction = ParsingFunction.PopElementContext; 8545_parsingFunction = ParsingFunction.InReadAttributeValue; 8552_parsingFunction = ParsingFunction.FragmentAttribute; 8995_parsingFunction = inReadBinaryFunction; 9426_parsingFunction = _nextParsingFunction; 9462_parsingFunction = _nextParsingFunction;
System\Xml\Core\XmlTextReaderImplAsync.cs (33)
47_parsingFunction = _nextParsingFunction; 180_parsingFunction = _nextParsingFunction; 187_parsingFunction = (_index == 0) ? ParsingFunction.DocumentContent : ParsingFunction.ElementContent; 193_parsingFunction = ParsingFunction.ElementContent; 197_parsingFunction = _nextParsingFunction; 207_parsingFunction = _nextParsingFunction; 211_parsingFunction = _nextParsingFunction; 215_parsingFunction = _nextParsingFunction; 221_parsingFunction = _nextParsingFunction; 229_parsingFunction = _nextParsingFunction; 243_parsingFunction = ParsingFunction.GoToEof; 273_parsingFunction = _nextParsingFunction; 641_parsingFunction = ParsingFunction.InReadValueChunk; 1224_parsingFunction = ParsingFunction.ResetAttributesRootLevel; 1445_parsingFunction = _nextParsingFunction; 1634_parsingFunction = _nextParsingFunction; 2010_parsingFunction = ParsingFunction.MoveToElementContent; 2024_parsingFunction = ParsingFunction.PopEmptyElementContext; 2264_parsingFunction = ParsingFunction.PopElementContext; 2363_parsingFunction = ParsingFunction.MoveToElementContent; 2379_parsingFunction = ParsingFunction.PopEmptyElementContext; 3042_parsingFunction = ParsingFunction.PartialTextValue; 3091_parsingFunction = ParsingFunction.PartialTextValue; 3109_parsingFunction = _nextParsingFunction; 3114_parsingFunction = _nextNextParsingFunction; 3389_parsingFunction = ParsingFunction.EntityReference; 3491_parsingFunction = ParsingFunction.ReportEndEntity; 3613_parsingFunction = _nextParsingFunction; 3635_parsingFunction = _nextParsingFunction; 3654_parsingFunction = _nextParsingFunction; 4454_parsingFunction = ParsingFunction.ResetAttributesRootLevel; 5437_parsingFunction = _nextParsingFunction; 5471_parsingFunction = _nextParsingFunction;
124 references to _parsingFunction
System.Private.Xml (124)
System\Xml\Core\XmlTextReaderImpl.cs (74)
906if (_parsingFunction >= ParsingFunction.PartialTextValue) 908if (_parsingFunction == ParsingFunction.PartialTextValue) 1000return _parsingFunction == ParsingFunction.Eof; 1226switch (_parsingFunction) 1265Debug.Assert(_parsingFunction == ParsingFunction.ElementContent || 1266_parsingFunction == ParsingFunction.DocumentContent); 1334Debug.Fail($"Unexpected parsing function {_parsingFunction}"); 1359switch (_parsingFunction) 1362Debug.Fail($"Unexpected parsing function {_parsingFunction}"); 1395Debug.Assert(_parsingFunction != ParsingFunction.Eof); 1422if (_parsingFunction != ParsingFunction.InReadAttributeValue) 1432if (_parsingFunction == ParsingFunction.InReadValueChunk) 1436if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 1465_nextParsingFunction = _parsingFunction; 1501if (_parsingFunction == ParsingFunction.InReadAttributeValue || 1502_parsingFunction == ParsingFunction.FragmentAttribute) 1528_nextParsingFunction = _parsingFunction; 1539_nextParsingFunction = _parsingFunction; 1567_parsingFunction == ParsingFunction.AfterResolveEntityInContent) 1600if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 1616if (_parsingFunction == ParsingFunction.InReadElementContentAsBinary) 1647if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 1663if (_parsingFunction == ParsingFunction.InReadElementContentAsBinary) 1693if (_parsingFunction == ParsingFunction.InReadElementContentAsBinary) 1709if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 1740if (_parsingFunction == ParsingFunction.InReadElementContentAsBinary) 1756if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 1800if (_parsingFunction != ParsingFunction.InReadValueChunk) 1806if (_parsingFunction == ParsingFunction.PartialTextValue) 1814_nextParsingFunction = _parsingFunction; 2167switch (_parsingFunction) 2209if (_parsingFunction == ParsingFunction.InIncrementalRead) 2245if (_parsingFunction == ParsingFunction.InIncrementalRead) 2279if (_parsingFunction == ParsingFunction.InIncrementalRead) 2782return _attrCount > 0 && _parsingFunction >= ParsingFunction.InReadAttributeValue; 2789if (_parsingFunction == ParsingFunction.InReadValueChunk) 2793else if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 2798if (_parsingFunction == ParsingFunction.InReadAttributeValue) 3004Debug.Assert(_parsingFunction == ParsingFunction.SwitchToInteractiveXmlDecl); 3008Debug.Assert(_parsingFunction == ParsingFunction.SwitchToInteractiveXmlDecl); 3554if (_parsingFunction == ParsingFunction.ReaderClosed) 3639_nextParsingFunction = _parsingFunction; 4029if (_parsingFunction == ParsingFunction.EntityReference) 4266int i = (_parsingFunction == ParsingFunction.InIncrementalRead) ? _index : _index - 1; 4424_nextParsingFunction = _parsingFunction; 4645_nextParsingFunction = (_index > 0) ? _parsingFunction : ParsingFunction.DocumentContent; 4745_nextParsingFunction = _parsingFunction; 5466_nextParsingFunction = _parsingFunction; 5505_nextParsingFunction = _parsingFunction; 5516if (_parsingFunction == ParsingFunction.ReportEndEntity) 5522else if (_parsingFunction == ParsingFunction.EntityReference) 5640_nextParsingFunction = _parsingFunction; 5741_nextParsingFunction = _parsingFunction; 5772Debug.Assert(_parsingFunction == ParsingFunction.PartialTextValue || 5773(_parsingFunction == ParsingFunction.InReadValueChunk && _incReadState == IncrementalReadState.ReadValueChunk_OnPartialValue)); 5793switch (_parsingFunction) 5840Debug.Assert(_parsingFunction == ParsingFunction.PartialTextValue || _parsingFunction == ParsingFunction.InReadValueChunk || 5841_parsingFunction == ParsingFunction.InReadContentAsBinary || _parsingFunction == ParsingFunction.InReadElementContentAsBinary); 5850Debug.Assert(_parsingFunction == ParsingFunction.InReadValueChunk); 5867Debug.Assert(_parsingFunction == ParsingFunction.InReadContentAsBinary || _parsingFunction == ParsingFunction.InReadElementContentAsBinary); 6173if (_index == 0 && _parsingFunction == ParsingFunction.ElementContent) 6712_nextParsingFunction = _parsingFunction; 8551Debug.Assert(_parsingFunction == ParsingFunction.InReadAttributeValue); 8890Debug.Assert(_parsingFunction != ParsingFunction.InReadContentAsBinary); 8892if (_parsingFunction == ParsingFunction.InReadValueChunk) 8897if (_parsingFunction == ParsingFunction.InIncrementalRead) 8917Debug.Assert(_parsingFunction != ParsingFunction.InReadElementContentAsBinary); 8984if (_parsingFunction == ParsingFunction.PartialTextValue) 8992_nextParsingFunction = _parsingFunction; 9425ParsingFunction tmp = _parsingFunction; 9464Debug.Assert(_parsingFunction != ParsingFunction.InReadElementContentAsBinary);
System\Xml\Core\XmlTextReaderImplAsync.cs (50)
33if (_parsingFunction >= ParsingFunction.PartialTextValue) 42if (_parsingFunction >= ParsingFunction.PartialTextValue) 44if (_parsingFunction == ParsingFunction.PartialTextValue) 166switch (_parsingFunction) 175Debug.Fail($"Unexpected parsing function {_parsingFunction}"); 198Debug.Assert(_parsingFunction == ParsingFunction.ElementContent || 199_parsingFunction == ParsingFunction.DocumentContent); 264Debug.Fail($"Unexpected parsing function {_parsingFunction}"); 320switch (_parsingFunction) 323Debug.Fail($"Unexpected parsing function {_parsingFunction}"); 357Debug.Assert(_parsingFunction != ParsingFunction.Eof); 396if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 412if (_parsingFunction == ParsingFunction.InReadElementContentAsBinary) 452if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 468if (_parsingFunction == ParsingFunction.InReadElementContentAsBinary) 517if (_parsingFunction == ParsingFunction.InReadElementContentAsBinary) 533if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 573if (_parsingFunction == ParsingFunction.InReadElementContentAsBinary) 589if (_parsingFunction == ParsingFunction.InReadContentAsBinary) 625if (_parsingFunction != ParsingFunction.InReadValueChunk) 631if (_parsingFunction == ParsingFunction.PartialTextValue) 639_nextParsingFunction = _parsingFunction; 1223_nextParsingFunction = _parsingFunction; 1632if (_parsingFunction == ParsingFunction.EntityReference) 2023_nextParsingFunction = _parsingFunction; 2263_nextParsingFunction = (_index > 0) ? _parsingFunction : ParsingFunction.DocumentContent; 2378_nextParsingFunction = _parsingFunction; 3041_nextParsingFunction = _parsingFunction; 3090_nextParsingFunction = _parsingFunction; 3106if (_parsingFunction == ParsingFunction.ReportEndEntity) 3112else if (_parsingFunction == ParsingFunction.EntityReference) 3388_nextParsingFunction = _parsingFunction; 3490_nextParsingFunction = _parsingFunction; 3530Debug.Assert(_parsingFunction == ParsingFunction.PartialTextValue || 3531(_parsingFunction == ParsingFunction.InReadValueChunk && _incReadState == IncrementalReadState.ReadValueChunk_OnPartialValue)); 3562switch (_parsingFunction) 3609Debug.Assert(_parsingFunction == ParsingFunction.PartialTextValue || _parsingFunction == ParsingFunction.InReadValueChunk || 3610_parsingFunction == ParsingFunction.InReadContentAsBinary || _parsingFunction == ParsingFunction.InReadElementContentAsBinary); 3625Debug.Assert(_parsingFunction == ParsingFunction.InReadValueChunk); 3644Debug.Assert(_parsingFunction == ParsingFunction.InReadContentAsBinary || _parsingFunction == ParsingFunction.InReadElementContentAsBinary); 4453_nextParsingFunction = _parsingFunction; 5270Debug.Assert(_parsingFunction != ParsingFunction.InReadContentAsBinary); 5272if (_parsingFunction == ParsingFunction.InReadValueChunk) 5276if (_parsingFunction == ParsingFunction.InIncrementalRead) 5296Debug.Assert(_parsingFunction != ParsingFunction.InReadElementContentAsBinary); 5436ParsingFunction tmp = _parsingFunction; 5473Debug.Assert(_parsingFunction != ParsingFunction.InReadElementContentAsBinary);