src/Shared/EntityFramework/DataAnnotations/MinLengthAttribute.cs
/// <summary>
/// Checks that Length has a legal value.  Throws InvalidOperationException if not.
/// </summary>
Checks that Length has a legal value.  Throws InvalidOperationException if not.
Checks that Length has a legal value . Throws InvalidOperationException if not .
private void EnsureLegalLengths()
        {
            if (Length < 0)
            {
                throw Error.MinLengthAttribute_InvalidMinLength();
            }
        }
private void EnsureLegalLengths ( ) { if ( Length < 0 ) { throw Error . MinLengthAttribute_InvalidMinLength ( ) ; } }
Checks that Length has a legal value.
Checks that Length has a legal value .