Open sandboxFocus

Class ProtectedAttribute

Not implemented yet in Metalama, but it will be.

Namespace: PostSharp.Constraints
Assembly: Metalama.Migration.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|MulticastTargets.InstanceConstructor, TargetTypeAttributes = MulticastAttributes.Internal|MulticastAttributes.Public|MulticastAttributes.UserGenerated, TargetMemberAttributes = MulticastAttributes.Internal|MulticastAttributes.Public)]
[Obsolete("Not implemented yet in Metalama, but it will be.", false)]
public sealed class ProtectedAttribute : ReferentialConstraint, IReferentialConstraint, IConstraint

Constructors

Name Description
ProtectedAttribute()

Properties

Name Description
Severity

Methods

Name Description
ValidateCode(object, Assembly)
ValidateConstraint(object)

Extension Methods