Top 20 NuGet guard Packages

A high-performance, extensible argument validation library.
Catel.Core library.
Argument validation made simple and unified. It ensures arguments conforms to simple validation rules and provides an uniformed exception throwing strategy if arguments are invalid.
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
Useful guard clauses that simplify argument validity checking and make your code more readable.
A fluent, extensible interface for guard clauses and argument validation.
A .NET library that provides a variety of reusable functionality, including packed integers (PackedInt16, PackedInt32, and PackedInt64), guard methods, various extension methods, and classes related to the Task Parallel Library (AsyncLazy, AsyncLock, AsyncAutoResetEvent, and AsyncManualResetEvent).
Evolved toolkit for developing applications faster and with less code. Includes general purpose extension methods, guard clauses, predefined value objects (PasswordHash,Email, Percentage etc) and specialized helper classes for specific tasks.
LeadPipe.Net is a collection of useful types, patterns, and extensions. These include a guarding type, tracking observable collection, command mediator, poller, and finite state machine. LeadPipe.Net is an open source collection of useful tools for .NET development. Read more about the ...
Roslyn analyzers that aim to help security audits on .NET applications.
Shortcut to throw exceptions to make defensive programming fun and more effective. Non intrusive.
Shield clauses for validating and raising exceptions.
Guard and Validator library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met. Supports the ability to get a list of the failed conditions.
Simple Guard (or DbC) implementation.
The Diagnostics library provides classes that help checking incoming parameters of a method using the Fluent API or not, depending on what you prefer.
A simple guard library for validating method parameters without being a complete validation library. This library makes it easy to validate method arguments in a uniform way.
Guard and Validator library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met. Supports the ability to get a list of the failed conditions.
Deep fork of the Seterlund.CodeGuard library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met.
A guard implementation that performs asserts/assumptions to prevent invalid code execution.
.NET Core port of Seterlund.CodeGuard, a Guard and Validator library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met. Supports the ability to get a list of the failed conditions.