System.Xml.Xsl.IlGen.XmlILVisitor.AfterEndChecks C# (CSharp) Method

AfterEndChecks() private method

This method is called after calling any WriteEnd??? method. It generates code to perform runtime construction checks separately. This should only be called if the XmlQueryOutput::EndElementChk method will *not* be called.
private AfterEndChecks ( QilNode ndCtor ) : void
ndCtor QilNode
return void
        private void AfterEndChecks(QilNode ndCtor) {
            if (XmlILConstructInfo.Read(ndCtor).FinalStates == PossibleXmlStates.WithinSequence) {
                // If final runtime state is guaranteed to be WithinSequence, then call XmlQueryOutput.StartTree
                this.helper.CallEndTree();
            }
        }
XmlILVisitor