AArnott / Validation

Method input validation and runtime checks that report errors or throw exceptions when failures are detected.
Microsoft Public License
131 stars 22 forks source link

Add obsolete warnings to `Requires.That` and `Requires.ValidState` #52

Closed scottdorman closed 4 years ago

scottdorman commented 4 years ago

Closes #51.

AArnott commented 4 years ago

We'll need to fix the build break by adding [Obsolete] to the test methods that call the obsolete APIs, or using #pragma warning disable around individual method calls.

codecov-commenter commented 4 years ago

Codecov Report

Merging #52 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   90.94%   90.94%           
=======================================
  Files           9        9           
  Lines         276      276           
=======================================
  Hits          251      251           
  Misses         25       25           
Impacted Files Coverage Δ
src/Validation/Requires.cs 96.33% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ccb3156...ccd6f4a. Read the comment docs.