From 93ada14efba49079276f4f58e732eda9e715f7f0 Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Wed, 7 Nov 2007 08:25:10 +0000 Subject: [PATCH] 2007-11-07 Atsushi Enomoto * SmtpNetworkElement.cs : default UserName is null. Fixed bug #323272. svn path=/trunk/mcs/; revision=89071 --- mcs/class/System/System.Net.Configuration/ChangeLog | 5 +++++ .../System/System.Net.Configuration/SmtpNetworkElement.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.25.1