Argument by Andrey Shchekin

<PackageReference Include="Argument" Version="1.4.0" />

 Argument 1.4.0

Argument validation methods, for example: this.user = Argument.NotNull("user", user). Less fancy than approaches based on lambdas/anonymous classes, but less scary performance-wise (given that argument checks are often all over the place). Annotations: C# 8 nullable reference types, ReSharper, Microsoft.CodeQuality.Analyzers, Code Contracts (.NET 4.5 only).

<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
  <metadata>
    <id>Argument</id>
    <version>1.4.0</version>
    <authors>Andrey Shchekin</authors>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <license type="expression">ISC</license>
    <licenseUrl>https://licenses.nuget.org/ISC</licenseUrl>
    <projectUrl>https://github.com/ashmind/argument</projectUrl>
    <description>Argument validation methods, for example:
this.user = Argument.NotNull("user", user).

Less fancy than approaches based on lambdas/anonymous classes, but less scary performance-wise (given that argument checks are often all over the place).

Annotations: C# 8 nullable reference types, ReSharper, Microsoft.CodeQuality.Analyzers, Code Contracts (.NET 4.5 only).</description>
    <copyright>Copyright (c) 2013–2020 Andrey Shchekin</copyright>
    <tags>contracts validation argument</tags>
    <dependencies>
      <group targetFramework=".NETFramework4.5" />
      <group targetFramework=".NETStandard1.1">
        <dependency id="System.Collections" version="4.0.11" exclude="Build,Analyzers" />
        <dependency id="System.Diagnostics.Contracts" version="4.0.1" exclude="Build,Analyzers" />
        <dependency id="System.Runtime" version="4.1.0" exclude="Build,Analyzers" />
      </group>
    </dependencies>
    <frameworkAssemblies>
      <frameworkAssembly assemblyName="Microsoft.CSharp" targetFramework=".NETFramework4.5" />
      <frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.5" />
    </frameworkAssemblies>
  </metadata>
</package>