PostSharp//API Reference/Post­Sharp.​Constraints/Experimental­Attribute
Open sandboxFocus

Class ExperimentalAttribute

Custom attribute that, when applied on a declaration, causes PostSharp to emit a warning if the declaration is being used.

Inheritance
ExperimentalAttribute
Namespace: PostSharp.Constraints
Assembly: PostSharp.dll
Syntax
[MulticastAttributeUsage]
public sealed class ExperimentalAttribute : ReferentialConstraint, IReferentialConstraint, IConstraint

Constructors

Name Description
ExperimentalAttribute() PostSharp.Constraints.ExperimentalAttribute

Methods

Name Description
ValidateCode(Object, Assembly)

Validates the constraint.