* AutomationProxyAttribute.cs
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / TypeLibFuncAttribute.cs
1 //
2 // System.Runtime.InteropServices.TypeLibFuncAttribute.cs
3 //
4 // Name: Duncan Mak  (duncan@ximian.com)
5 //
6 // (C) Ximian, Inc.
7 //
8
9 using System;
10
11 namespace System.Runtime.InteropServices {
12
13         [AttributeUsage (AttributeTargets.Method, Inherited=false)]
14         public sealed class TypeLibFuncAttribute : Attribute
15         {
16                 TypeLibFuncFlags flags;
17                 
18                 public TypeLibFuncAttribute (short flags)
19                 {
20                         this.flags = (TypeLibFuncFlags) flags;
21                 }
22
23                 public TypeLibFuncAttribute (TypeLibFuncFlags flags)
24                 {
25                         this.flags = flags;
26                 }
27
28                 public TypeLibFuncFlags Value {
29                         get { return flags; }
30                 }
31         }
32 }