Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TypeLibVarAttribute.cs « System.Runtime.InteropServices « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e5f2a4792cb3e80292ce73f71edcc3017328a68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// System.Runtime.InteropServices.TypeLibTypeAttribute.cs
//
// Name: Duncan Mak  (duncan@ximian.com)
//
// (C) Ximian, Inc.
//

using System;

namespace System.Runtime.InteropServices {

	[AttributeUsage (AttributeTargets.Method)]
	public sealed class TypeLibVarAttribute : Attribute
	{
		TypeLibVarFlags flags;
		
		public TypeLibVarAttribute (short flags)
		{
			this.flags = (TypeLibVarFlags) flags;
		}

		public TypeLibVarAttribute (TypeLibVarFlags flags)
		{
			this.flags = flags;
		}

		public TypeLibVarFlags Value {
			get { return flags; }
		}
	}
}