Microsoft.VisualStudio.Validation 17.6.4-alpha

Microsoft.VisualStudio.Validation

NuGet package Build Status codecov

This project is available as the Microsoft.VisualStudio.Validation 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");

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

Packages Downloads
Nerdbank.MessagePack
A fast and more user-friendly MessagePack serialization library for .NET and .NET Framework. This package is brought to you by one of the two major contributors to MessagePack-CSharp. As its natural successor, this library comes packed with features that its predecessor lacks, and has ongoing support. Premium support for trimming and Native AOT, secure deserialization of untrusted data, async serialization, streaming deserialization, skip serializing of default values, reference preservation, and support for reference cycles. Also features an automatic structural equality API.
2
StreamJsonRpc
A cross-platform .NETStandard library that implements the JSON-RPC wire protocol and can use System.IO.Stream, System.IO.Pipelines or WebSocket so you can use it with any transport.
2

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

.NET 6.0

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
17.13.22 1 2026/9/21
17.8.8 1 2026/9/21
17.6.11 1 2026/9/21
17.6.4-alpha 1 2026/9/21
17.0.71 1 2026/9/21
17.0.65 1 2026/9/21
17.0.64 1 2026/9/21
17.0.53 1 2026/9/21
17.0.50 1 2026/9/21
17.0.46 1 2026/9/21
17.0.43 1 2026/9/21
17.0.42 1 2026/9/21
17.0.34 0 2021/10/8
17.0.28 1 2026/9/21
17.0.25-alpha 1 2026/9/21
17.0.21-alpha 1 2026/9/21
17.0.16-alpha 1 2026/9/21
17.0.12-alpha 1 2026/9/21
17.0.11-alpha 1 2026/9/21
16.10.35 1 2026/9/21
16.10.34 1 2026/9/21
16.10.26 1 2026/9/21
16.9.32 1 2026/9/21
16.9.28 1 2026/9/21
16.9.27-alpha 1 2026/9/21
16.8.33 1 2026/9/21
15.5.31 1 2026/9/21
15.5.3 1 2026/9/21
15.3.58 1 2026/9/21
15.3.53 1 2026/9/21
15.3.32 1 2026/9/21
15.3.23 1 2026/9/21
15.3.15 1 2026/9/21
15.0.82 1 2026/9/21
15.0.75 1 2026/9/21
15.0.67 1 2026/9/21
15.0.55-pre 1 2026/9/21
15.0.11-pre 1 2026/9/21
14.1.111 1 2026/9/21
14.0.51103 1 2026/9/21
14.0.50702 1 2026/9/21
14.0.50417-pre 1 2026/9/21
12.0.0 1 2026/9/21