Microsoft.VisualStudio.Validation 17.0.71

Microsoft.VisualStudio.Validation

NuGet package Build Status codecov

This project is available as the [Microsoft.VisualStudio.Validation][1] NuGet package.

Basic input validation via the Requires class throws an ArgumentException.

Requires.NotNull(arg1, nameof(arg1));
Requires.NotNullOrEmpty(arg2, nameof(arg2));

State validation via the Verify class throws an InvalidOperationException.

Verify.Operation(condition, "some error occurred.");

Internal integrity checks via the Assumes class throws an InternalErrorException.

Assumes.True(condition, "some error");

Warning signs that should not throw exceptions via the Report class.

Report.IfNot(condition, "some error");

[1]: http://nuget.org/packages/Microsoft.VisualStudio.Validation "Microsoft.VisualStudio.Validation NuGet package"

Showing the top 20 packages that depend on Microsoft.VisualStudio.Validation.

Packages Downloads
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
6
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
5

https://github.com/microsoft/vs-validation/releases/tag/v17.0.71

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
17.13.22 4 08/13/2025
17.8.8 5 06/29/2025
17.6.11 5 06/29/2025
17.6.4-alpha 5 06/29/2025
17.0.71 4 06/29/2025
17.0.65 5 06/29/2025
17.0.64 5 06/29/2025
17.0.53 5 06/29/2025
17.0.50 5 06/29/2025
17.0.46 5 06/29/2025
17.0.43 5 06/29/2025
17.0.42 4 06/29/2025
17.0.34 5 06/29/2025
17.0.28 5 06/29/2025
17.0.25-alpha 4 06/29/2025
17.0.21-alpha 5 06/29/2025
17.0.16-alpha 5 06/29/2025
17.0.12-alpha 5 06/29/2025
17.0.11-alpha 5 06/29/2025
16.10.35 5 06/29/2025
16.10.34 4 06/29/2025
16.10.26 5 06/29/2025
16.9.32 4 06/29/2025
16.9.28 4 06/29/2025
16.9.27-alpha 5 06/29/2025
16.8.33 5 06/29/2025
15.5.31 5 06/29/2025
15.5.3 5 06/29/2025
15.3.58 3 06/29/2025
15.3.53 4 06/29/2025
15.3.32 5 06/29/2025
15.3.23 5 06/29/2025
15.3.15 4 06/29/2025
15.0.82 5 06/29/2025
15.0.75 5 06/29/2025
15.0.67 4 06/29/2025
15.0.55-pre 5 06/29/2025
15.0.11-pre 5 06/29/2025
14.1.111 5 06/29/2025
14.0.51103 6 06/29/2025
14.0.50702 4 06/29/2025
14.0.50417-pre 5 06/29/2025
12.0.0 5 06/29/2025