Fix typo
[mono.git] / mcs / class / System / System.Net.Configuration / ConnectionManagementElementCollection.cs
index 74f372614862c563a538c65ba4c26a430efd9bd3..66c34c1b16973dda44a1fa37349aa05fb679b5aa 100644 (file)
@@ -30,7 +30,7 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0 && CONFIGURATION_DEP
+#if CONFIGURATION_DEP
 
 using System.Configuration;
 
@@ -76,10 +76,9 @@ namespace System.Net.Configuration
 
                protected override ConfigurationElement CreateNewElement ()
                {
-                       return new AuthenticationModuleElement ();
+                       return new ConnectionManagementElement ();
                }
 
-               [MonoTODO ("argument exception?")]
                protected override object GetElementKey (ConfigurationElement element)
                {
                        if (!(element is ConnectionManagementElement))