Microsoft.VisualStudio.Validation 17.6.4-alpha

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
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
120
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
121
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
123
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
124
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
125
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
126
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
128
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
129
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
130
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
143
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
159
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
161
Microsoft.VisualStudio.Threading.Only
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio). This package contains only the library, without a dependency on the analyzers. Use the Microsoft.VisualStudio.Threading package to get the library and analyzers together.
126
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
121

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 56 08/09/2025
17.8.8 113 07/18/2024
17.6.11 96 07/19/2024
17.6.4-alpha 112 07/19/2024
17.0.71 95 07/19/2024
17.0.65 93 07/19/2024
17.0.64 81 07/19/2024
17.0.53 104 07/19/2024
17.0.50 96 07/19/2024
17.0.46 110 07/19/2024
17.0.43 98 07/19/2024
17.0.42 97 07/19/2024
17.0.34 100 07/19/2024
17.0.28 91 07/19/2024
17.0.25-alpha 108 07/19/2024
17.0.21-alpha 106 07/19/2024
17.0.16-alpha 87 07/19/2024
17.0.12-alpha 87 07/19/2024
17.0.11-alpha 91 07/19/2024
16.10.35 96 07/19/2024
16.10.34 88 07/19/2024
16.10.26 91 07/19/2024
16.9.32 115 07/19/2024
16.9.28 85 07/19/2024
16.9.27-alpha 88 07/19/2024
16.8.33 91 07/19/2024
15.5.31 92 07/19/2024
15.5.3 97 07/19/2024
15.3.58 94 07/19/2024
15.3.53 107 07/19/2024
15.3.32 95 07/19/2024
15.3.23 95 07/19/2024
15.3.15 85 07/19/2024
15.0.82 98 07/19/2024
15.0.75 98 07/19/2024
15.0.67 98 07/19/2024
15.0.55-pre 87 07/19/2024
15.0.11-pre 90 07/19/2024
14.1.111 93 07/19/2024
14.0.51103 86 07/19/2024
14.0.50702 101 07/19/2024
14.0.50417-pre 91 07/19/2024
12.0.0 95 07/19/2024