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

DefaultMemberAttribute.cs « System.Reflection « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 855cff8ed7d613fc0230940a19a689e422144393 (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
//
// System.Reflection.DefaultMemberAttribute.cs
//
// Author:
//   Miguel de Icaza (miguel@ximian.com)
//
// (C) Ximian, Inc.  http://www.ximian.com
//

namespace System.Reflection {

	[Serializable]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct |
		AttributeTargets.Interface)]
	public sealed class DefaultMemberAttribute : Attribute {
		string member_name;
		
		public DefaultMemberAttribute (string member_name)
		{
			this.member_name = member_name;
		}

		public string MemberName {
			get {
				return member_name;
			}
		}
	}
}