Adds NullOrOutOfRange
clauses, adding support for nullable classes/…
#493
Annotations
10 warnings
src/GuardClauses/GuardAgainstOutOfRangeExtensions.cs#L134
Cannot convert null literal to non-nullable reference type.
|
test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForUint.cs#L72
Possible null reference argument for parameter 'parameterName' in 'uint GuardClauseExtensions.OutOfRange<uint>(IGuardClause guardClause, uint input, string parameterName, uint rangeFrom, uint rangeTo, string? message = null)'.
|
test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForTimeSpan.cs#L102
Possible null reference argument for parameter 'parameterName' in 'TimeSpan GuardClauseExtensions.OutOfRange<TimeSpan>(IGuardClause guardClause, TimeSpan input, string parameterName, TimeSpan rangeFrom, TimeSpan rangeTo, string? message = null)'.
|
test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForTimeSpan.cs#L145
Possible null reference argument for parameter 'parameterName' in 'TimeSpan GuardClauseExtensions.OutOfRange<TimeSpan>(IGuardClause guardClause, TimeSpan input, string parameterName, TimeSpan rangeFrom, TimeSpan rangeTo, string? message = null)'.
|
test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForStructIComparable.cs#L78
Possible null reference argument for parameter 'parameterName' in '(int, int) GuardClauseExtensions.OutOfRange<(int, int)>(IGuardClause guardClause, (int, int) input, string parameterName, (int, int) rangeFrom, (int, int) rangeTo, string? message = null)'.
|
test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForShort.cs#L73
Possible null reference argument for parameter 'parameterName' in 'short GuardClauseExtensions.OutOfRange<short>(IGuardClause guardClause, short input, string parameterName, short rangeFrom, short rangeTo, string? message = null)'.
|
test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForInt.cs#L73
Possible null reference argument for parameter 'parameterName' in 'int GuardClauseExtensions.OutOfRange<int>(IGuardClause guardClause, int input, string parameterName, int rangeFrom, int rangeTo, string? message = null)'.
|
test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForFloat.cs#L73
Possible null reference argument for parameter 'parameterName' in 'float GuardClauseExtensions.OutOfRange<float>(IGuardClause guardClause, float input, string parameterName, float rangeFrom, float rangeTo, string? message = null)'.
|
test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForDouble.cs#L73
Possible null reference argument for parameter 'parameterName' in 'double GuardClauseExtensions.OutOfRange<double>(IGuardClause guardClause, double input, string parameterName, double rangeFrom, double rangeTo, string? message = null)'.
|
test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForDecimal.cs#L73
Possible null reference argument for parameter 'parameterName' in 'double GuardClauseExtensions.OutOfRange<double>(IGuardClause guardClause, double input, string parameterName, double rangeFrom, double rangeTo, string? message = null)'.
|
The logs for this run have expired and are no longer available.
Loading