Skip to content

Commit

Permalink
Add additional warning suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremySkinner committed Jun 29, 2023
1 parent 0be18d7 commit aa61b35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/FluentValidation/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public enum CascadeMode {
/// For more information, see the methods/properties that accept this enum as a parameter.
/// </summary>
Continue,

#pragma warning disable 618
/// <summary>
/// For more information, see the methods/properties that accept this enum as a parameter.
/// </summary>
Expand All @@ -39,6 +41,7 @@ public enum CascadeMode {
$"and their global default equivalents. {nameof(StopOnFirstFailure)} will be removed in a later release. " +
"For more details, see https://docs.fluentvalidation.net/en/latest/cascade.html .")]
StopOnFirstFailure,
#pragma warning restore 618

/// <summary>
/// When a rule/validator fails, validation is stopped for the current rule/validator.
Expand Down

0 comments on commit aa61b35

Please sign in to comment.