System.Xml.Xsl.Qil.QilValidationVisitor.BeginScope C# (CSharp) Method

BeginScope() protected method

Add an iterator or function to scope if it hasn't been added already.
protected BeginScope ( QilNode node ) : void
node QilNode
return void
        protected override void BeginScope(QilNode node) {
            if (this.scope.Contains(node))
                SetError(node, "Reference already in scope");
            else
                this.scope.Add(node, node);
        }