The only argument validation file you need, with full refactoring support and strong-typing.

 Guard.NotNull(() => value, value)
   () => stringValue, stringValue)

Install-Package netfx-Guard -Version
dotnet add package netfx-Guard --version
<PackageReference Include="netfx-Guard" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add netfx-Guard --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

Showing the top 2 GitHub repositories that depend on netfx-Guard:

Repository Stars
The most popular and friendly mocking framework for .NET
A URI building helper library for ASP.NET Web API

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated 46,745 3/26/2013 612 3/25/2013
1.3.3 2,332 12/6/2012
1.3.2 4,352 8/6/2012
1.3.1 32,962 7/2/2011 10,136 6/15/2011 1,878 5/20/2011
1.2.0 19,241 2/9/2011