New tests.
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / ProcessModelSection.cs
index 5992a2c7174aea88016283e7304473d41437ca24..4e19404eb313e0ada88ba23e06a7a1f7adcf3f28 100644 (file)
@@ -84,7 +84,7 @@ namespace System.Web.Configuration {
                                                                               new GenericEnumConverter (typeof (ProcessModelComImpersonationLevel)),
                                                                               PropertyHelper.DefaultValidator,
                                                                               ConfigurationPropertyOptions.None);
-                       cpuMaskProp = new ConfigurationProperty ("cpuMask", typeof (int), 0xffffffff);
+                       cpuMaskProp = new ConfigurationProperty ("cpuMask", typeof (int), (int) (int.MaxValue & 0xfffffff));
                        enableProp = new ConfigurationProperty ("enable", typeof (bool), true);
                        idleTimeoutProp = new ConfigurationProperty ("idleTimeout", typeof (TimeSpan), TimeSpan.MaxValue,
                                                                     PropertyHelper.InfiniteTimeSpanConverter,
@@ -188,7 +188,6 @@ namespace System.Web.Configuration {
                        elementProperty = new ConfigurationElementProperty (new CallbackValidator (typeof (ProcessModelSection), ValidateElement));
                }
 
-               [MonoTODO]
                static void ValidateElement (object o)
                {
                        /* XXX do some sort of element validation here? */