New test.
[mono.git] / mcs / class / System.Runtime.Serialization / System.Runtime.Serialization / CollectionDataContractAttribute.cs
1 #if NET_2_0
2 using System;
3
4 namespace System.Runtime.Serialization
5 {
6         [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct, 
7                 Inherited = false, AllowMultiple = false)]
8         public sealed class CollectionDataContractAttribute : Attribute
9         {
10                 string name, ns;
11
12                 public CollectionDataContractAttribute ()
13                 {
14                 }
15
16                 public string Name {
17                         get { return name; }
18                         set { name = value; }
19                 }
20
21                 public string Namespace {
22                         get { return ns; }
23                         set { ns = value; }
24                 }
25         }
26 }
27 #endif