System.Xml.Xsl.XsltOld.RecordBuilder.BeginElement C# (CSharp) Method

BeginElement() private method

private BeginElement ( string prefix, string name, string nspace, bool empty ) : void
prefix string
name string
nspace string
empty bool
return void
        private void BeginElement(string prefix, string name, string nspace, bool empty) {
            Debug.Assert(this.attributeCount == 0);

            this.currentInfo.NodeType     = XmlNodeType.Element;
            this.currentInfo.Prefix       = prefix;
            this.currentInfo.LocalName    = name;
            this.currentInfo.NamespaceURI = nspace;
            this.currentInfo.Depth        = this.recordDepth;
            this.currentInfo.IsEmptyTag   = empty;

            this.scopeManager.PushScope(name, nspace, prefix);
        }