mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* System.Xml/XmlDocument.cs: * System.Xml/XmlTextWriter.cs: * System.Xml/XmlValidatingReader.cs: * System.Xml.Schema/XmlSchemaCollection.cs: * System.Xml.Schema/XmlSchemaException.cs: * System.Xml.Schema/XmlSchemaObjectCollection.cs: * System.Xml.Serialization/SoapTypeAttribute.cs: * System.Xml.Serialization/XmlAttributes.cs: * System.Xml.Serialization/XmlMapping.cs: * System.Xml.Serialization/XmlReflectionImporter.cs: * System.Xml.Serialization/XmlSerializer.cs: * System.Xml.Serialization/XmlTextAttribute.cs: * System.Xml.Xsl/XslTransform.cs: misc. fixed and implementation. * System.Xml.Serialization/SchemaTypes.cs: New file. * System.Xml.Serialization/TypeData.cs: New file. * System.Xml.Serialization/TypeTranslator.cs: New file. svn path=/trunk/mcs/; revision=7574
89 lines
1.7 KiB
C#
Executable File
89 lines
1.7 KiB
C#
Executable File
// Author: Dwivedi, Ajay kumar
|
|
// [email protected]
|
|
using System;
|
|
using System.Collections;
|
|
|
|
namespace System.Xml.Schema
|
|
{
|
|
/// <summary>
|
|
/// Summary description for XmlSchemaObjectCollection.
|
|
/// </summary>
|
|
public class XmlSchemaObjectCollection : System.Collections.CollectionBase
|
|
{
|
|
private XmlSchemaObject parent;
|
|
|
|
public XmlSchemaObjectCollection()
|
|
{
|
|
}
|
|
public XmlSchemaObjectCollection(XmlSchemaObject parent)
|
|
{
|
|
this.parent = parent;
|
|
}
|
|
|
|
// Properties
|
|
public virtual XmlSchemaObject this[ int index ]
|
|
{
|
|
get
|
|
{
|
|
return (XmlSchemaObject) this.List[index];
|
|
}
|
|
set
|
|
{
|
|
this.List[index] = value;
|
|
}
|
|
}
|
|
|
|
// Methods
|
|
public int Add(XmlSchemaObject item)
|
|
{
|
|
return this.List.Add(item);
|
|
}
|
|
|
|
public bool Contains(XmlSchemaObject item)
|
|
{
|
|
return this.List.Contains(item);
|
|
}
|
|
|
|
public void CopyTo(XmlSchemaObject[] array, int index)
|
|
{
|
|
this.List.CopyTo(array,index);
|
|
}
|
|
|
|
public new XmlSchemaObjectEnumerator GetEnumerator ()
|
|
{
|
|
return new XmlSchemaObjectEnumerator(this.List);
|
|
}
|
|
|
|
public int IndexOf(XmlSchemaObject item)
|
|
{
|
|
return this.List.IndexOf(item);
|
|
}
|
|
|
|
public void Insert(int index, XmlSchemaObject item)
|
|
{
|
|
this.List.Insert(index, item);
|
|
}
|
|
|
|
protected override void OnClear()
|
|
{
|
|
}
|
|
|
|
protected override void OnInsert(int index,object item)
|
|
{
|
|
}
|
|
|
|
protected override void OnRemove(int index,object item)
|
|
{
|
|
}
|
|
|
|
protected override void OnSet(int index,object oldValue,object newValue)
|
|
{
|
|
}
|
|
|
|
public void Remove(XmlSchemaObject item)
|
|
{
|
|
this.List.Remove(item);
|
|
}
|
|
}
|
|
}
|