[System] Add missing configuration properties to the list of properties (#4954)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 31 May 2017 01:52:08 +0000 (03:52 +0200)
committerGitHub <noreply@github.com>
Wed, 31 May 2017 01:52:08 +0000 (03:52 +0200)
After looking at https://github.com/mono/mono/pull/4949 I did a
quick pass through the other config sections and found two more
cases where we missed adding to the properties list.

mcs/class/System/System.Net.Configuration/DefaultProxySection.cs
mcs/class/System/System.Net.Configuration/ProxyElement.cs

index b3365b8183583e485fb5c8ed137f6c829519e5f9..2019ff147ada8755c24dd360369272f9d852f4ab 100644 (file)
@@ -61,6 +61,7 @@ namespace System.Net.Configuration
                        properties = new ConfigurationPropertyCollection ();
 
                        properties.Add (bypassListProp);
+                       properties.Add (enabledProp);
                        properties.Add (moduleProp);
                        properties.Add (proxyProp);
                        properties.Add (useDefaultCredentialsProp);
index bce70c4277ca1876cd8b5a961e86481e1f8053e0..bbe366aa292700e84a3a9cd9dc5893cbc24b5f3d 100644 (file)
@@ -62,6 +62,7 @@ namespace System.Net.Configuration
 
                        properties = new ConfigurationPropertyCollection ();
                                                                    
+                       properties.Add (autoDetectProp);
                        properties.Add (bypassOnLocalProp);
                        properties.Add (proxyAddressProp);
                        properties.Add (scriptLocationProp);