From: Atsushi Eno Date: Wed, 7 Nov 2007 08:25:10 +0000 (-0000) Subject: 2007-11-07 Atsushi Enomoto X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=93ada14efba49079276f4f58e732eda9e715f7f0;p=mono.git 2007-11-07 Atsushi Enomoto * SmtpNetworkElement.cs : default UserName is null. Fixed bug #323272. svn path=/trunk/mcs/; revision=89071 --- diff --git a/mcs/class/System/System.Net.Configuration/ChangeLog b/mcs/class/System/System.Net.Configuration/ChangeLog index cf6e469c34f..120a6dd28e4 100644 --- a/mcs/class/System/System.Net.Configuration/ChangeLog +++ b/mcs/class/System/System.Net.Configuration/ChangeLog @@ -1,3 +1,8 @@ +2007-11-07 Atsushi Enomoto + + * SmtpNetworkElement.cs : default UserName is null. + Fixed bug #323272. + 2007-02-18 Geoff Norton * AuthenticationModulesSection.cs: Remove NotImpl from diff --git a/mcs/class/System/System.Net.Configuration/SmtpNetworkElement.cs b/mcs/class/System/System.Net.Configuration/SmtpNetworkElement.cs index 082c3895abd..6f9a5900799 100644 --- a/mcs/class/System/System.Net.Configuration/SmtpNetworkElement.cs +++ b/mcs/class/System/System.Net.Configuration/SmtpNetworkElement.cs @@ -61,7 +61,7 @@ namespace System.Net.Configuration { set { base ["port"] = value; } } - [ConfigurationProperty ("userName")] + [ConfigurationProperty ("userName", DefaultValue = null)] public string UserName { get { return (string) base ["userName"]; } set { base ["userName"] = value; }