11 [RequiresUnreferencedCode(
"Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.")]
13 : base(
System.
SR.MinLengthAttribute_ValidationError)
18 [UnconditionalSuppressMessage(
"ReflectionAnalysis",
"IL2026:RequiresUnreferencedCode", Justification =
"The ctor is marked with RequiresUnreferencedCode.")]
static bool TryGetCount(object value, out int count)
MinLengthAttribute(int length)
void EnsureLegalLengths()
override string FormatErrorMessage(string name)
override bool IsValid(object? value)
static CultureInfo CurrentCulture
static string Format(string resourceFormat, object p1)
static string LengthAttribute_InvalidValueType
static string MinLengthAttribute_InvalidMinLength