17 references to EnumAttrs
System.Private.Xml (17)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (17)
192
if (_xstate == XmlState.
EnumAttrs
)
421
_xstate = (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) ? XmlState.
EnumAttrs
: XmlState.WithinContent;
429
Debug.Assert(_xstate == XmlState.
EnumAttrs
|| _xstate == XmlState.WithinContent, $"EndTree cannot be called in the {_xstate} state.");
451
_xstate = XmlState.
EnumAttrs
;
468
Debug.Assert(_xstate == XmlState.
EnumAttrs
, $"StartElementContent cannot be called in the {_xstate} state.");
483
Debug.Assert(_xstate == XmlState.
EnumAttrs
|| _xstate == XmlState.WithinContent, $"WriteEndElement cannot be called in the {_xstate} state.");
503
Debug.Assert(_xstate == XmlState.
EnumAttrs
, $"WriteStartAttribute cannot be called in the {_xstate} state.");
524
_xstate = XmlState.
EnumAttrs
;
538
Debug.Assert(_xstate == XmlState.
EnumAttrs
, $"WriteNamespaceDeclaration cannot be called in the {_xstate} state.");
571
Debug.Assert(_xstate != XmlState.WithinSequence && _xstate != XmlState.
EnumAttrs
, $"WriteTextBlock cannot be called in the {_xstate} state.");
580
Debug.Assert(_xstate != XmlState.WithinSequence && _xstate != XmlState.
EnumAttrs
, $"WriteTextBlockNoEntities cannot be called in the {_xstate} state.");
772
_xstate = XmlState.
EnumAttrs
;
996
case XmlState.
EnumAttrs
:
1270
case XmlState.
EnumAttrs
:
1293
_xstate = XmlState.
EnumAttrs
;
1296
case XmlState.
EnumAttrs
:
1332
case XmlState.
EnumAttrs
: return XPathNodeType.Element;