[API] Fix for bug: https://bugzilla.novell.com/show_bug.cgi?id=648888
authorPablo Ruiz Garcia <pablo.ruiz@gmail.com>
Mon, 25 Oct 2010 00:10:37 +0000 (08:10 +0800)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 25 Oct 2010 17:31:34 +0000 (01:31 +0800)
mcs/class/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations/DataTypeAttribute.cs

index edf06cfe90149e7b0301222fd1153c16d659aa0f..cfc72255fe00650830aeb057d059eac78d166e24 100644 (file)
@@ -74,10 +74,11 @@ namespace System.ComponentModel.DataAnnotations
                        return dt.ToString ();
                }
 
-               [MonoTODO]
                public override bool IsValid (object value)
                {
-                       throw new NotImplementedException ();
+                       // Returns alwasy true  
+                       // See: http://msdn.microsoft.com/en-us/library/cc679235.aspx
+                       return true;
                }
        }
 }