Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set Length in MaxLengthAttribute ctor

  • Loading branch information...
commit 47634892ee4d5e4bb27c0a3873c281ae241334dd 1 parent a58334e
@marek-safar marek-safar authored
View
1  mcs/class/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations/MaxLengthAttribute.cs
@@ -39,6 +39,7 @@ public MaxLengthAttribute ()
public MaxLengthAttribute (int length)
{
+ Length = length;
}
public int Length { get; private set; }
Please sign in to comment.
Something went wrong with that request. Please try again.