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

CreateRootMapping() private method

private CreateRootMapping ( ) : StructMapping
return StructMapping
        private StructMapping CreateRootMapping()
        {
            TypeDesc typeDesc = _typeScope.GetTypeDesc(typeof(object));
            StructMapping mapping = new StructMapping();
            mapping.TypeDesc = typeDesc;
            mapping.TypeName = Soap.UrType;
            mapping.Namespace = XmlSchema.Namespace;
            mapping.Members = Array.Empty<MemberMapping>();
            mapping.IncludeInSchema = false;
            return mapping;
        }