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