17 writes to xstate
System.Data.SqlXml (17)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (17)
66this.xstate = XmlState.WithinSequence; 76this.xstate = XmlState.WithinContent; 386this.xstate = (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) ? XmlState.EnumAttrs : XmlState.WithinContent; 395this.xstate = XmlState.WithinSequence; 414this.xstate = XmlState.EnumAttrs; 436this.xstate = XmlState.WithinContent; 445this.xstate = XmlState.WithinContent; 463this.xstate = XmlState.WithinAttr; 480this.xstate = XmlState.EnumAttrs; 684this.xstate = XmlState.WithinNmsp; 702this.xstate = XmlState.EnumAttrs; 720this.xstate = XmlState.WithinComment; 740this.xstate = XmlState.WithinContent; 760this.xstate = XmlState.WithinPI; 780this.xstate = XmlState.WithinContent; 1145this.xstate = XmlState.WithinContent; 1173this.xstate = XmlState.EnumAttrs;
51 references to xstate
System.Data.SqlXml (51)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (51)
184if (this.xstate == XmlState.EnumAttrs) { 235if (this.xstate == XmlState.WithinNmsp) { 383Debug.Assert(this.xstate == XmlState.WithinSequence, "StartTree cannot be called in the " + this.xstate + " state."); 393Debug.Assert(this.xstate == XmlState.EnumAttrs || this.xstate == XmlState.WithinContent, "EndTree cannot be called in the " + this.xstate + " state."); 408Debug.Assert(this.xstate == XmlState.WithinContent, "WriteStartElement cannot be called in the " + this.xstate + " state."); 429Debug.Assert(this.xstate == XmlState.EnumAttrs, "StartElementContent cannot be called in the " + this.xstate + " state."); 443Debug.Assert(this.xstate == XmlState.EnumAttrs || this.xstate == XmlState.WithinContent, "WriteEndElement cannot be called in the " + this.xstate + " state."); 461Debug.Assert(this.xstate == XmlState.EnumAttrs, "WriteStartAttribute cannot be called in the " + this.xstate + " state."); 478Debug.Assert(this.xstate == XmlState.WithinAttr, "WriteEndAttribute cannot be called in the " + this.xstate + " state."); 493Debug.Assert(this.xstate == XmlState.EnumAttrs, "WriteNamespaceDeclaration cannot be called in the " + this.xstate + " state."); 523Debug.Assert(this.xstate != XmlState.WithinSequence && this.xstate != XmlState.EnumAttrs, "WriteTextBlock cannot be called in the " + this.xstate + " state."); 531Debug.Assert(this.xstate != XmlState.WithinSequence && this.xstate != XmlState.EnumAttrs, "WriteTextBlockNoEntities cannot be called in the " + this.xstate + " state."); 545if (this.xstate != XmlState.WithinSequence) 692Debug.Assert(this.xstate == XmlState.WithinNmsp, "WriteNamespaceString cannot be called in the " + this.xstate + " state."); 700Debug.Assert(this.xstate == XmlState.WithinNmsp, "WriteEndNamespace cannot be called in the " + this.xstate + " state."); 728Debug.Assert(this.xstate == XmlState.WithinComment, "WriteCommentString cannot be called in the " + this.xstate + " state."); 736Debug.Assert(this.xstate == XmlState.WithinComment, "WriteEndComment cannot be called in the " + this.xstate + " state."); 768Debug.Assert(this.xstate == XmlState.WithinPI, "WriteProcessingInstructionString cannot be called in the " + this.xstate + " state."); 776Debug.Assert(this.xstate == XmlState.WithinPI, "WriteEndProcessingInstruction cannot be called in the " + this.xstate + " state."); 797if (this.xstate == XmlState.WithinSequence) 804Debug.Assert(this.xstate == XmlState.WithinSequence, "Values can only be written at the top-level."); 892switch (this.xstate) { 929Debug.Assert(false, "Text cannot be output in the " + this.xstate + " state."); 1063Debug.Assert(this.xstate != XmlState.WithinSequence, "StartCopy should not called if state is WithinSequence"); 1093Debug.Assert(this.xstate == XmlState.WithinContent, "EndCopy cannot be called in the " + this.xstate + " state."); 1141switch (this.xstate) { 1170switch (this.xstate) { 1430throw new XslTransformException(Res.XmlIl_BadXmlState, new string[] {constructorType.ToString(), XmlStateToNodeType(this.xstate).ToString()}); 1437if (this.xstate == XmlState.WithinContent) 1443throw new XslTransformException(Res.XmlIl_BadXmlState, new string[] {"Unknown", XmlStateToNodeType(this.xstate).ToString()});