projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New test.
[mono.git]
/
mcs
/
class
/
corlib
/
System.Diagnostics
/
DebuggerDisplayAttribute.cs
diff --git
a/mcs/class/corlib/System.Diagnostics/DebuggerDisplayAttribute.cs
b/mcs/class/corlib/System.Diagnostics/DebuggerDisplayAttribute.cs
index 1f21699c5fed24f51da83f77698233e77748d2ca..ae4eb7fc9979a85ea0190b205fbd11216d6f8f47 100644
(file)
--- a/
mcs/class/corlib/System.Diagnostics/DebuggerDisplayAttribute.cs
+++ b/
mcs/class/corlib/System.Diagnostics/DebuggerDisplayAttribute.cs
@@
-32,14
+32,20
@@
using System;
namespace System.Diagnostics {
namespace System.Diagnostics {
- [AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly)]
+ [AttributeUsageAttribute(AttributeTargets.Class |
+ AttributeTargets.Struct |
+ AttributeTargets.Enum |
+ AttributeTargets.Field |
+ AttributeTargets.Delegate |
+ AttributeTargets.Property |
+ AttributeTargets.Assembly, AllowMultiple=true)]
#if NET_2_0
public sealed class DebuggerDisplayAttribute : Attribute
#else
internal sealed class DebuggerDisplayAttribute : Attribute
#endif
{
#if NET_2_0
public sealed class DebuggerDisplayAttribute : Attribute
#else
internal sealed class DebuggerDisplayAttribute : Attribute
#endif
{
- string value;
+ string value
, type, name
;
string target_type_name;
Type target_type;
string target_type_name;
Type target_type;
@@
-71,6
+77,26
@@
namespace System.Diagnostics {
target_type_name = value;
}
}
target_type_name = value;
}
}
+
+ public string Type {
+ get {
+ return type;
+ }
+
+ set {
+ type = value;
+ }
+ }
+
+ public string Name {
+ get {
+ return name;
+ }
+
+ set {
+ type = name;
+ }
+ }
}
}
}
}