Removed extra leading space
authorDaniel Turan <daniel.turan@hotmail.com>
Wed, 27 Feb 2019 08:01:42 +0000 (09:01 +0100)
committerArthur Vickers <ajcvickers@hotmail.com>
Mon, 4 Mar 2019 20:25:43 +0000 (12:25 -0800)
Commit migrated from https://github.com/dotnet/corefx/commit/959cdfac0744b0a12c41fa06b9f5df55a91ff415

src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/CustomValidationAttribute.cs

index 6566071..1220d2b 100644 (file)
@@ -243,7 +243,7 @@ namespace System.ComponentModel.DataAnnotations
             }
 
             // Method must return a ValidationResult or derived class
-             if (!typeof(ValidationResult).IsAssignableFrom(methodInfo.ReturnType))
+            if (!typeof(ValidationResult).IsAssignableFrom(methodInfo.ReturnType))
             {
                 return SR.Format(SR.CustomValidationAttribute_Method_Must_Return_ValidationResult, Method, ValidatorType.Name);
             }