2 writes to Length
System.ComponentModel.DataAnnotations (2)
DataAnnotations\MaxLengthAttribute.cs (2)
28Length = length; 37Length = MaxAllowableLength;
5 references to Length
System.ComponentModel.DataAnnotations (5)
DataAnnotations\MaxLengthAttribute.cs (5)
74return MaxAllowableLength == Length || length <= Length; 84return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length); 92if (Length == 0 || Length < -1) {