17 references to EnumAttrs
System.Private.Xml (17)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (17)
193
if (_xstate == XmlState.
EnumAttrs
)
422
_xstate = (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) ? XmlState.
EnumAttrs
: XmlState.WithinContent;
430
Debug.Assert(_xstate == XmlState.
EnumAttrs
|| _xstate == XmlState.WithinContent, $"EndTree cannot be called in the {_xstate} state.");
452
_xstate = XmlState.
EnumAttrs
;
469
Debug.Assert(_xstate == XmlState.
EnumAttrs
, $"StartElementContent cannot be called in the {_xstate} state.");
484
Debug.Assert(_xstate == XmlState.
EnumAttrs
|| _xstate == XmlState.WithinContent, $"WriteEndElement cannot be called in the {_xstate} state.");
504
Debug.Assert(_xstate == XmlState.
EnumAttrs
, $"WriteStartAttribute cannot be called in the {_xstate} state.");
525
_xstate = XmlState.
EnumAttrs
;
539
Debug.Assert(_xstate == XmlState.
EnumAttrs
, $"WriteNamespaceDeclaration cannot be called in the {_xstate} state.");
572
Debug.Assert(_xstate != XmlState.WithinSequence && _xstate != XmlState.
EnumAttrs
, $"WriteTextBlock cannot be called in the {_xstate} state.");
581
Debug.Assert(_xstate != XmlState.WithinSequence && _xstate != XmlState.
EnumAttrs
, $"WriteTextBlockNoEntities cannot be called in the {_xstate} state.");
773
_xstate = XmlState.
EnumAttrs
;
997
case XmlState.
EnumAttrs
:
1271
case XmlState.
EnumAttrs
:
1294
_xstate = XmlState.
EnumAttrs
;
1297
case XmlState.
EnumAttrs
:
1333
case XmlState.
EnumAttrs
: return XPathNodeType.Element;