Inheritance: System.IO.XmlReader, IXmlTextParser, IXmlLineInfo
        // this method must be called before any generated deserialization methods are called
        internal void Init(XmlReader r, XmlDeserializationEvents events, string encodingStyle, TempAssembly tempAssembly) {
            this.events = events;
            if (checkDeserializeAdvances)
            {
                this.countingReader = new XmlCountingReader(r);
                this.r = this.countingReader;
            }
            else 
                this.r = r;
            this.d = null;
            this.soap12 = (encodingStyle == Soap12.Encoding);
            Init(tempAssembly);

            schemaNsID = r.NameTable.Add(XmlSchema.Namespace);
            schemaNs2000ID = r.NameTable.Add("http://www.w3.org/2000/10/XMLSchema");
            schemaNs1999ID = r.NameTable.Add("http://www.w3.org/1999/XMLSchema");
            schemaNonXsdTypesNsID = r.NameTable.Add(UrtTypes.Namespace);
            instanceNsID = r.NameTable.Add(XmlSchema.InstanceNamespace);
            instanceNs2000ID = r.NameTable.Add("http://www.w3.org/2000/10/XMLSchema-instance");
            instanceNs1999ID = r.NameTable.Add("http://www.w3.org/1999/XMLSchema-instance");
            soapNsID = r.NameTable.Add(Soap.Encoding);
            soap12NsID = r.NameTable.Add(Soap12.Encoding);
            schemaID = r.NameTable.Add("schema");
            wsdlNsID = r.NameTable.Add(Wsdl.Namespace);
            wsdlArrayTypeID = r.NameTable.Add(Wsdl.ArrayType);
            nullID = r.NameTable.Add("null");
            nilID = r.NameTable.Add("nil");
            typeID = r.NameTable.Add("type");
            arrayTypeID = r.NameTable.Add("arrayType");
            itemTypeID = r.NameTable.Add("itemType");
            arraySizeID = r.NameTable.Add("arraySize");
            arrayID = r.NameTable.Add("Array");
            urTypeID = r.NameTable.Add(Soap.UrType);
            InitIDs();
        }
 internal void Init(XmlReader r, XmlDeserializationEvents events, string encodingStyle, TempAssembly tempAssembly)
 {
     this.events = events;
     if (checkDeserializeAdvances)
     {
         this.countingReader = new XmlCountingReader(r);
         this.r = this.countingReader;
     }
     else
     {
         this.r = r;
     }
     this.d = null;
     this.soap12 = encodingStyle == "http://www.w3.org/2003/05/soap-encoding";
     base.Init(tempAssembly);
     this.schemaNsID = r.NameTable.Add("http://www.w3.org/2001/XMLSchema");
     this.schemaNs2000ID = r.NameTable.Add("http://www.w3.org/2000/10/XMLSchema");
     this.schemaNs1999ID = r.NameTable.Add("http://www.w3.org/1999/XMLSchema");
     this.schemaNonXsdTypesNsID = r.NameTable.Add("http://microsoft.com/wsdl/types/");
     this.instanceNsID = r.NameTable.Add("http://www.w3.org/2001/XMLSchema-instance");
     this.instanceNs2000ID = r.NameTable.Add("http://www.w3.org/2000/10/XMLSchema-instance");
     this.instanceNs1999ID = r.NameTable.Add("http://www.w3.org/1999/XMLSchema-instance");
     this.soapNsID = r.NameTable.Add("http://schemas.xmlsoap.org/soap/encoding/");
     this.soap12NsID = r.NameTable.Add("http://www.w3.org/2003/05/soap-encoding");
     this.schemaID = r.NameTable.Add("schema");
     this.wsdlNsID = r.NameTable.Add("http://schemas.xmlsoap.org/wsdl/");
     this.wsdlArrayTypeID = r.NameTable.Add("arrayType");
     this.nullID = r.NameTable.Add("null");
     this.nilID = r.NameTable.Add("nil");
     this.typeID = r.NameTable.Add("type");
     this.arrayTypeID = r.NameTable.Add("arrayType");
     this.itemTypeID = r.NameTable.Add("itemType");
     this.arraySizeID = r.NameTable.Add("arraySize");
     this.arrayID = r.NameTable.Add("Array");
     this.urTypeID = r.NameTable.Add("anyType");
     this.InitIDs();
 }