System.Xml.Serialization.SchemaImporter.CreateRootMapping C# (CSharp) Method

CreateRootMapping() private method

private CreateRootMapping ( ) : StructMapping
return StructMapping
        private StructMapping CreateRootMapping()
        {
            TypeDesc typeDesc = Scope.GetTypeDesc(typeof(object));
            StructMapping mapping = new StructMapping();
            mapping.TypeDesc = typeDesc;
            mapping.Members = new MemberMapping[0];
            mapping.IncludeInSchema = false;
            mapping.TypeName = Soap.UrType;
            mapping.Namespace = XmlSchema.Namespace;

            return mapping;
        }