System.Xml.Serialization.XmlSerializationILGen.XmlSerializationILGen C# (CSharp) Method

XmlSerializationILGen() private method

private XmlSerializationILGen ( TypeScope scopes, string access, string className ) : System
scopes TypeScope
access string
className string
return System
        internal XmlSerializationILGen(TypeScope[] scopes, string access, string className)
        {
            _scopes = scopes;
            if (scopes.Length > 0)
            {
                _stringTypeDesc = scopes[0].GetTypeDesc(typeof(string));
                _qnameTypeDesc = scopes[0].GetTypeDesc(typeof(XmlQualifiedName));
            }
            _raCodeGen = new ReflectionAwareILGen();
            _className = className;
            System.Diagnostics.Debug.Assert(access == "public");
            _typeAttributes = TypeAttributes.Public;
        }