diff options
Diffstat (limited to 'mcs/class/corlib/System.Diagnostics/DebuggerTypeProxyAttribute.cs')
-rw-r--r-- | mcs/class/corlib/System.Diagnostics/DebuggerTypeProxyAttribute.cs | 11 |
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 { |