Files
mono/mcs/class/corlib/System.Reflection/DefaultMemberAttribute.cs
T
Nick Drochak b7a0b10655 2002-04-08 Nick Drochak <[email protected]>
* DefaultMemberAttribute.cs: Add AttributeUsage attribute for class,
	struct and interface.

svn path=/trunk/mcs/; revision=3685
2002-04-08 11:06:59 +00:00

30 lines
557 B
C#

//
// System.Reflection.DefaultMemberAttribute.cs
//
// Author:
// Miguel de Icaza ([email protected])
//
// (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;
}
}
}
}