Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoeduardo committed Feb 26, 2019
1 parent 8af2d46 commit 3b7f788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/src/Umbrella.Utilities/Guard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public static void ArgumentLengthInRange(string argumentValue, string argumentNa
/// The value must be less than or equal to {max}
/// </exception>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void ArgumentInRange<T>(T? argumentValue, string argumentName, T? min = null, T? max = null, bool allowNull = true)
public static void ArgumentInRange<T>(T? argumentValue, string argumentName, T? min = null, T? max = null, bool allowNull = false)
where T : struct, IComparable<T>
{
if (!argumentValue.HasValue && !allowNull)
Expand Down

0 comments on commit 3b7f788

Please sign in to comment.