System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartComment C# (CSharp) Method

WriteStartComment() public method

Before writing a comment, perform various checks to ensure well-formedness.
public WriteStartComment ( ) : void
return void
        public void WriteStartComment() {
            // Xml state transitions
            ConstructWithinContent(XPathNodeType.Comment);

            this.commentText = string.Empty;
            this.xstate = XmlState.WithinComment;
            this.depth++;
        }