* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ComDefaultInterfaceAttribute.cs
1 //
2 // System.Runtime.InteropServices.ComDefaultInterfaceAttribute
3 //
4 // Author:
5 //   Kazuki Oikawa  (kazuki@panicode.com)
6 //
7
8 #if NET_2_0
9
10 using System;
11
12 namespace System.Runtime.InteropServices
13 {
14         [AttributeUsage (AttributeTargets.Class, Inherited = false)]
15         public sealed class ComDefaultInterfaceAttribute : Attribute
16         {
17                 Type _type;
18
19                 public ComDefaultInterfaceAttribute (Type defaultInterface)
20                 {
21                         _type = defaultInterface;
22                 }
23
24                 public Type Value { get { return _type; }}
25         }
26 }
27 #endif