1 write to MaximumLength
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\LengthAttribute.cs (1)
20MaximumLength = maximumLength;
5 references to MaximumLength
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonObjectSchemaExtensions.cs (1)
106schema[$"max{targetKeySuffix}"] = lengthAttribute.MaximumLength;
System.ComponentModel.Annotations (4)
System\ComponentModel\DataAnnotations\LengthAttribute.cs (4)
46/// <see cref="MinimumLength"/> is less than zero or <see cref="MaximumLength"/> is less than <see cref="MinimumLength"/>. 70return (uint)(length - MinimumLength) <= (uint)(MaximumLength - MinimumLength); 80string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, MinimumLength, MaximumLength); 93if (MaximumLength < MinimumLength)