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

TypeLibFuncAttribute.cs « System.Runtime.InteropServices « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c58eaccbec24992d12ca88e13e8726d6389b9ea4 (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.TypeLibFuncAttribute.cs
//
// Name: Duncan Mak  (duncan@ximian.com)
//
// (C) Ximian, Inc.
//

using System;

namespace System.Runtime.InteropServices {

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

		public TypeLibFuncAttribute (TypeLibFuncFlags flags)
		{
			this.flags = flags;
		}

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