From: Pablo Ruiz Garcia Date: Mon, 25 Oct 2010 00:10:37 +0000 (+0800) Subject: [API] Fix for bug: https://bugzilla.novell.com/show_bug.cgi?id=648888 X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=47a7aa40fdab12ec8d6f59dc8e2e3c324c5c4496;p=mono.git [API] Fix for bug: https://bugzilla.novell.com/show_bug.cgi?id=648888 --- diff --git a/mcs/class/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations/DataTypeAttribute.cs b/mcs/class/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations/DataTypeAttribute.cs index edf06cfe901..cfc72255fe0 100644 --- a/mcs/class/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations/DataTypeAttribute.cs +++ b/mcs/class/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations/DataTypeAttribute.cs @@ -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; } } }