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