Skip to content

Commit f5ef457

Browse files
committed
Mark SkipValidationAttribute as Experimental
1 parent 044b6c5 commit f5ef457

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
using System.Diagnostics.CodeAnalysis;
5+
46
namespace Microsoft.Extensions.Validation;
57

68
/// <summary>
79
/// Indicates that an object property should be skipped for validation.
810
/// The generator will not generate validation code for this property and its type.
911
/// </summary>
1012
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Field)]
13+
[Experimental("ASP0029", UrlFormat = "https://aka.ms/aspnet/analyzer/{0}")]
1114
public sealed class SkipValidationAttribute : Attribute
1215
{
1316
}

0 commit comments

Comments
 (0)