15 references to ElementContent
System.Private.Xml (15)
System\Xml\Core\XmlTextReaderImpl.cs (9)
1228case ParsingFunction.ElementContent: 1254_parsingFunction = (_index == 0) ? ParsingFunction.DocumentContent : ParsingFunction.ElementContent; 1260_parsingFunction = ParsingFunction.ElementContent; 1265Debug.Assert(_parsingFunction == ParsingFunction.ElementContent || 2806_nextParsingFunction = (_index > 0) ? ParsingFunction.ElementContent : ParsingFunction.DocumentContent; 5855Debug.Assert((_index > 0) ? _nextParsingFunction == ParsingFunction.ElementContent : _nextParsingFunction == ParsingFunction.DocumentContent); 5872Debug.Assert((_index > 0) ? _nextParsingFunction == ParsingFunction.ElementContent : _nextParsingFunction == ParsingFunction.DocumentContent); 6173if (_index == 0 && _parsingFunction == ParsingFunction.ElementContent) 8246_nextParsingFunction = (_index > 0 || _fragmentType != XmlNodeType.Document) ? ParsingFunction.ElementContent
System\Xml\Core\XmlTextReaderImplAsync.cs (6)
168case ParsingFunction.ElementContent: 187_parsingFunction = (_index == 0) ? ParsingFunction.DocumentContent : ParsingFunction.ElementContent; 193_parsingFunction = ParsingFunction.ElementContent; 198Debug.Assert(_parsingFunction == ParsingFunction.ElementContent || 3630Debug.Assert((_index > 0) ? _nextParsingFunction == ParsingFunction.ElementContent : _nextParsingFunction == ParsingFunction.DocumentContent); 3649Debug.Assert((_index > 0) ? _nextParsingFunction == ParsingFunction.ElementContent : _nextParsingFunction == ParsingFunction.DocumentContent);