Light.GuardClauses icon indicating copy to clipboard operation
Light.GuardClauses copied to clipboard

A lightweight .NET library for expressive Guard Clauses.

Results 4 Light.GuardClauses issues
Sort by recently updated
recently updated
newest added

This feature should be implemented for double and float values. The assertions should be overloaded so that the tolerance can be specified by the caller. See `IsApproximately` for double and...

new feature
help wanted
good first issue

We should add the following assertions for `string`, `ReadOnlySpan` and `Span`: - `IsTrimmed`: checks if a character sequence starts and ends with a non-whitespace character, returns true or false. -...

new feature
help wanted
good first issue

I'm testing library for c# 8 support but it looks like it is not working `public static string Test(string? text) { text.MustNotBeNull(); return text.Substring(0, 1); }` With proper implementation there...

new feature
question