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

VisitXmlContext() protected method

Generate code for QilNodeType.XmlContext.
Generates code to retrieve the default document using the XmlResolver.
protected VisitXmlContext ( QilNode ndCtxt ) : QilNode
ndCtxt QilNode
return QilNode
        protected override QilNode VisitXmlContext(QilNode ndCtxt) {
            // runtime.ExternalContext.DefaultDataSource
            this.helper.LoadQueryContext();
            this.helper.Call(XmlILMethods.GetDefaultDataSource);
            this.iterCurr.Storage = StorageDescriptor.Stack(typeof(XPathNavigator), false);
            return ndCtxt;
        }
XmlILVisitor