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

TypeLibTypeAttribute.cs « System.Runtime.InteropServices « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d76bfcd814b45f0e056e877f83144c15a9ec37d1 (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 TypeLibTypeAttribute : Attribute
	{
		TypeLibTypeFlags flags;
		
		public TypeLibTypeAttribute (short flags)
		{
			this.flags = (TypeLibTypeFlags) flags;
		}

		public TypeLibTypeAttribute (TypeLibTypeFlags flags)
		{
			this.flags = flags;
		}

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