Flush.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / TypeLibVarAttribute.cs
1 //
2 // System.Runtime.InteropServices.TypeLibTypeAttribute.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)]
14         public sealed class TypeLibVarAttribute : Attribute
15         {
16                 TypeLibVarFlags flags;
17                 
18                 public TypeLibVarAttribute (short flags)
19                 {
20                         this.flags = (TypeLibVarFlags) flags;
21                 }
22
23                 public TypeLibVarAttribute (TypeLibVarFlags flags)
24                 {
25                         this.flags = flags;
26                 }
27
28                 public TypeLibVarFlags Value {
29                         get { return flags; }
30                 }
31         }
32 }