4 writes to Minimum
System.ComponentModel.Annotations (4)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (4)
24Minimum = minimum; 38Minimum = minimum; 59Minimum = minimum; 120Minimum = minimum;
14 references to Minimum
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\Metadata\ModelAttributesTest.cs (4)
42Assert.Equal(0, (int)rangeAttributes[0].Minimum); 45Assert.Equal(10, (int)rangeAttributes[1].Minimum); 51Assert.Equal(0, (int)rangeAttributes[0].Minimum); 54Assert.Equal(10, (int)rangeAttributes[1].Minimum);
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
RangeAttributeAdapter.cs (2)
27_min = Convert.ToString(Attribute.Minimum, CultureInfo.InvariantCulture)!; 48Attribute.Minimum,
Microsoft.AspNetCore.OpenApi (2)
Extensions\JsonNodeSchemaExtensions.cs (2)
96var targetCulture = rangeAttribute.ParseLimitsInInvariantCulture || rangeAttribute.Minimum is double || rangeAttribute.Maximum is int 100var minString = rangeAttribute.Minimum.ToString();
System.ComponentModel.Annotations (6)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (6)
75/// Specifies whether validation should fail for values that are equal to <see cref="Minimum"/>. 85/// Gets the type of the <see cref="Minimum" /> and <see cref="Maximum" /> values (e.g. Int32, Double, or some custom 92/// Determines whether string values for <see cref="Minimum"/> and <see cref="Maximum"/> are parsed in the invariant 161var min = (IComparable)Minimum; 179return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Minimum, Maximum); 191object minimum = Minimum;