Merge pull request #1505 from esdrubal/tzifloatingrule
[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 using System;
9
10 namespace System.Runtime.InteropServices
11 {
12         [AttributeUsage (AttributeTargets.Class, Inherited = false)]
13         [ComVisible (true)]
14         public sealed class ComDefaultInterfaceAttribute : Attribute
15         {
16                 Type _type;
17
18                 public ComDefaultInterfaceAttribute (Type defaultInterface)
19                 {
20                         _type = defaultInterface;
21                 }
22
23                 public Type Value { get { return _type; }}
24         }
25 }