Author: toshok
Date: 2006-01-09 16:20:25 -0500 (Mon, 09 Jan 2006)
New Revision: 55262

Modified:
   trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
   
trunk/mcs/class/System.Configuration/System.Configuration/ElementInformation.cs
Log:
2006-01-09  Chris Toshok  <[EMAIL PROTECTED]>

        * ElementInformation.cs (Validator): if propertyInfo == null,
        return a DefaultValidator instance.



Modified: trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog
===================================================================
--- trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog 
2006-01-09 21:19:32 UTC (rev 55261)
+++ trunk/mcs/class/System.Configuration/System.Configuration/ChangeLog 
2006-01-09 21:20:25 UTC (rev 55262)
@@ -1,5 +1,10 @@
 2006-01-09  Chris Toshok  <[EMAIL PROTECTED]>
 
+       * ElementInformation.cs (Validator): if propertyInfo == null,
+       return a DefaultValidator instance.
+
+2006-01-09  Chris Toshok  <[EMAIL PROTECTED]>
+
        * AppSettingsSection.cs (.cctor): specify null for
        validator/converter.
 

Modified: 
trunk/mcs/class/System.Configuration/System.Configuration/ElementInformation.cs
===================================================================
--- 
trunk/mcs/class/System.Configuration/System.Configuration/ElementInformation.cs 
    2006-01-09 21:19:32 UTC (rev 55261)
+++ 
trunk/mcs/class/System.Configuration/System.Configuration/ElementInformation.cs 
    2006-01-09 21:20:25 UTC (rev 55262)
@@ -36,7 +36,7 @@
                PropertyInformation propertyInfo;
                ConfigurationElement owner;
                PropertyInformationCollection properties;
-               
+
                internal ElementInformation (ConfigurationElement owner, 
PropertyInformation propertyInfo)
                {
                        this.propertyInfo = propertyInfo;
@@ -76,7 +76,7 @@
                }
                
                public ConfigurationValidatorBase Validator {
-                       get { return propertyInfo != null ? 
propertyInfo.Validator : null; }
+                       get { return propertyInfo != null ? 
propertyInfo.Validator : new DefaultValidator(); }
                }
                
                public PropertyInformationCollection Properties {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to