Open sandboxFocus

Class ComponentInternalAttribute

In Metalama, use CanOnlyBeUsedFromAttribute.

Namespace: PostSharp.Constraints
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, use 'CanOnlyBeUsedFromAttribute'.", false)]
public sealed class ComponentInternalAttribute : ReferenceConstraint, IReferentialConstraint, IConstraint

Constructors

Name Description
ComponentInternalAttribute()

In Metalama, use CanOnlyBeUsedFromAttribute and set the CurrentNamespace property to true.

ComponentInternalAttribute(params string[])

In Metalama, use CanOnlyBeUsedFromAttribute and set the Namespaces property.

ComponentInternalAttribute(params Type[])

In Metalama, use CanOnlyBeUsedFromAttribute and set the Types property.

Properties

Name Description
Severity

Methods

Name Description
ValidateReference(ICodeReference)

Extension Methods