15 references to ElementContent
System.Xml (15)
System\Xml\Core\XmlTextReaderImpl.cs (9)
1163
case ParsingFunction.
ElementContent
:
1190
parsingFunction = ( index == 0 ) ? ParsingFunction.DocumentContent : ParsingFunction.
ElementContent
;
1196
parsingFunction = ParsingFunction.
ElementContent
;
1201
Debug.Assert( parsingFunction == ParsingFunction.
ElementContent
||
2568
nextParsingFunction = ( index > 0 ) ? ParsingFunction.
ElementContent
: ParsingFunction.DocumentContent;
5337
Debug.Assert( ( index > 0 ) ? nextParsingFunction == ParsingFunction.
ElementContent
: nextParsingFunction == ParsingFunction.DocumentContent );
5351
Debug.Assert( ( index > 0 ) ? nextParsingFunction == ParsingFunction.
ElementContent
: nextParsingFunction == ParsingFunction.DocumentContent );
5623
if ( index == 0 && parsingFunction == ParsingFunction.
ElementContent
) {
7406
nextParsingFunction = ( index > 0 || fragmentType != XmlNodeType.Document ) ? ParsingFunction.
ElementContent
System\Xml\Core\XmlTextReaderImplAsync.cs (6)
154
case ParsingFunction.
ElementContent
:
174
parsingFunction = (index == 0) ? ParsingFunction.DocumentContent : ParsingFunction.
ElementContent
;
180
parsingFunction = ParsingFunction.
ElementContent
;
185
Debug.Assert(parsingFunction == ParsingFunction.
ElementContent
||
3384
Debug.Assert( ( index > 0 ) ? nextParsingFunction == ParsingFunction.
ElementContent
: nextParsingFunction == ParsingFunction.DocumentContent );
3401
Debug.Assert( ( index > 0 ) ? nextParsingFunction == ParsingFunction.
ElementContent
: nextParsingFunction == ParsingFunction.DocumentContent );