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
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Module|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event|AttributeTargets.Interface|AttributeTargets.Delegate, AllowMultiple = true)]
[MulticastAttributeUsage(MulticastTargets.AnyType|MulticastTargets.Field|MulticastTargets.Method)]
public sealed class ExperimentalAttribute : ReferentialConstraint, IReferentialConstraint, IConstraint
Constructors
Name | Description |
---|---|
ExperimentalAttribute() |
Methods
Name | Description |
---|---|
ValidateCode(object, Assembly) | Validates the constraint. |