System.Xml.Serialization.SchemaObjectWriter.Write53_XmlSchemaAny C# (CSharp) Method

Write53_XmlSchemaAny() private method

private Write53_XmlSchemaAny ( XmlSchemaAny o ) : void
o System.Xml.Schema.XmlSchemaAny
return void
        void Write53_XmlSchemaAny(XmlSchemaAny o) {
            if ((object)o == null) return;
            WriteStartElement("any");
            
            WriteAttribute(@"id", @"", o.@Id);
            WriteAttribute("minOccurs", "", XmlConvert.ToString(o.MinOccurs));
            WriteAttribute(@"maxOccurs", @"", o.MaxOccurs == decimal.MaxValue ? "unbounded" : XmlConvert.ToString(o.MaxOccurs));
            WriteAttribute(@"namespace", @"", ToString(o.NamespaceList));
            XmlSchemaContentProcessing process = o.@ProcessContents == XmlSchemaContentProcessing.@None ? XmlSchemaContentProcessing.Strict : o.@ProcessContents;
            WriteAttribute(@"processContents", @"", Write34_XmlSchemaContentProcessing(process));
            WriteAttributes((XmlAttribute[])o.@UnhandledAttributes, o);
            Write5_XmlSchemaAnnotation((XmlSchemaAnnotation)o.@Annotation);
            WriteEndElement();
        }