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

CreateRootMapping() private method

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