We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 044b6c5 commit f5ef457Copy full SHA for f5ef457
src/Validation/src/SkipValidationAttribute.cs
@@ -1,13 +1,16 @@
1
// Licensed to the .NET Foundation under one or more agreements.
2
// The .NET Foundation licenses this file to you under the MIT license.
3
4
+using System.Diagnostics.CodeAnalysis;
5
+
6
namespace Microsoft.Extensions.Validation;
7
8
/// <summary>
9
/// Indicates that an object property should be skipped for validation.
10
/// The generator will not generate validation code for this property and its type.
11
/// </summary>
12
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Field)]
13
+[Experimental("ASP0029", UrlFormat = "https://aka.ms/aspnet/analyzer/{0}")]
14
public sealed class SkipValidationAttribute : Attribute
15
{
16
}
0 commit comments