Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / System.Xml / System / Xml / Schema / XmlSchemaAll.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="XmlSchemaAll.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">Microsoft</owner>                                                                
6 //------------------------------------------------------------------------------
7
8 namespace System.Xml.Schema {
9
10     using System.Collections;
11     using System.Xml.Serialization;
12
13     /// <include file='doc\XmlSchemaAll.uex' path='docs/doc[@for="XmlSchemaAll"]/*' />
14     /// <devdoc>
15     ///    <para>[To be supplied.]</para>
16     /// </devdoc>
17     public class XmlSchemaAll : XmlSchemaGroupBase {
18         XmlSchemaObjectCollection items = new XmlSchemaObjectCollection();
19
20         /// <include file='doc\XmlSchemaAll.uex' path='docs/doc[@for="XmlSchemaAll.Items"]/*' />
21         /// <devdoc>
22         ///    <para>[To be supplied.]</para>
23         /// </devdoc>
24         [XmlElement("element", typeof(XmlSchemaElement))]
25         public override XmlSchemaObjectCollection Items {
26             get { return items; }
27         }
28
29         internal override bool IsEmpty {
30             get { return  base.IsEmpty || items.Count == 0; }
31         } 
32
33         internal override void SetItems(XmlSchemaObjectCollection newItems) {
34             items = newItems;
35         }
36     }
37 }