⚠ Deprecated: Legacy
This is a better implementation of what I was trying to do.
Suggested alternative: Ardalis.GuardClauses
Simple extensions to commonly used types
$ dotnet add package LokiCat.NET.GuardClausesLokiCat.NET.GuardClauses provides concise and readable guard clauses for your .NET projects.
This library is provided as-is, with no warranty or guarantee of any kind. Use at your own risk!