summaryrefslogtreecommitdiff
path: root/mcs/class/corlib/System.Diagnostics
diff options
context:
space:
mode:
authorJo Shields <directhex@apebox.org>2014-02-19 22:12:43 +0000
committerJo Shields <directhex@apebox.org>2014-02-19 22:12:43 +0000
commit9972bf87b4f27d9c8f358ef8414ac1ab957a2f0f (patch)
tree5bb230c1d698659115f918e243c1d4b0aa4c7f51 /mcs/class/corlib/System.Diagnostics
parentd0a215f5626219ff7927f576588a777e5331c7be (diff)
downloadmono-upstream/3.2.8+dfsg.tar.gz
Imported Upstream version 3.2.8+dfsgupstream/3.2.8+dfsg
Diffstat (limited to 'mcs/class/corlib/System.Diagnostics')
-rw-r--r--mcs/class/corlib/System.Diagnostics/DebuggerTypeProxyAttribute.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/mcs/class/corlib/System.Diagnostics/DebuggerTypeProxyAttribute.cs b/mcs/class/corlib/System.Diagnostics/DebuggerTypeProxyAttribute.cs
index 92ccb86c90..637636e75d 100644
--- a/mcs/class/corlib/System.Diagnostics/DebuggerTypeProxyAttribute.cs
+++ b/mcs/class/corlib/System.Diagnostics/DebuggerTypeProxyAttribute.cs
@@ -1,8 +1,9 @@
//
// System.Diagnostics.DebuggerTypeProxyAttribute.cs
//
-// Author:
+// Authors:
// Chris Toshok (toshok@novell.com)
+// Marek Safar (marek.safar@gmail.com)
//
//
@@ -46,8 +47,12 @@ namespace System.Diagnostics {
proxy_type_name = typeName;
}
- public DebuggerTypeProxyAttribute (Type type) {
- proxy_type_name = type.Name;
+ public DebuggerTypeProxyAttribute (Type type)
+ {
+ if (type == null)
+ throw new ArgumentNullException ("type");
+
+ proxy_type_name = type.AssemblyQualifiedName;
}
public string ProxyTypeName {