dfe6c5356c22f8a595285401f57c6594da1722b4
[mono.git] / mcs / class / System.Runtime.Serialization / System.Runtime.Serialization / KnownTypeCollection.cs
1 #if NET_2_0
2 using System;
3 using System.Collections.ObjectModel;
4
5 namespace System.Runtime.Serialization
6 {
7         public sealed class KnownTypeCollection : Collection<Type>
8         {
9                 public KnownTypeCollection ()
10                 {
11                 }
12
13                 public void ClearItems ()
14                 {
15                         base.Clear ();
16                 }
17
18                 public void InsertItem (int index, Type type)
19                 {
20                         base.Insert (index, type);
21                 }
22
23                 public void RemoveItem (int index)
24                 {
25                         base.RemoveAt (index);
26                 }
27
28                 public void SetItem (int index, Type type)
29                 {
30                         base [index] = type;
31                 }
32         }
33 }
34 #endif