2007-11-07 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Wed, 7 Nov 2007 08:25:10 +0000 (08:25 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Wed, 7 Nov 2007 08:25:10 +0000 (08:25 -0000)
* SmtpNetworkElement.cs : default UserName is null.
  Fixed bug #323272.

svn path=/trunk/mcs/; revision=89071

mcs/class/System/System.Net.Configuration/ChangeLog
mcs/class/System/System.Net.Configuration/SmtpNetworkElement.cs

index cf6e469c34fd6689a7995ea239788dc8b8170ce4..120a6dd28e45f4207e887a81177989018b173d55 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SmtpNetworkElement.cs : default UserName is null.
+         Fixed bug #323272.
+
 2007-02-18  Geoff Norton  <gnorton@customerdna.com>
 
        * AuthenticationModulesSection.cs: Remove NotImpl from 
index 082c3895abd09095d55370bbc89d5a86481485cb..6f9a59007993c132cd7f73d1b21b78cbb13b4b8e 100644 (file)
@@ -61,7 +61,7 @@ namespace System.Net.Configuration {
                                        set { base ["port"] = value; }
                 }
 
-                [ConfigurationProperty ("userName")]
+                [ConfigurationProperty ("userName", DefaultValue = null)]
                 public string UserName {\r
                                        get { return (string) base ["userName"]; }\r
                                        set { base ["userName"] = value; }