ComponentInternalAttribute Class
In Metalama, use CanOnlyBeUsedFromAttribute.
Inheritance
Namespace: PostSharp.Constraints
Assembly: Metalama.Migration.dll
Syntax
public sealed class ComponentInternalAttribute : ReferenceConstraint, IReferentialConstraint, IConstraint
Constructors
Name | Description |
---|---|
ComponentInternalAttribute() | In Metalama, use CanOnlyBeUsedFromAttribute and
set the CurrentNamespace property to |
ComponentInternalAttribute(String[]) | In Metalama, use CanOnlyBeUsedFromAttribute and set the Namespaces property. |
ComponentInternalAttribute(Type[]) | In Metalama, use CanOnlyBeUsedFromAttribute and set the Types property. |
Properties
Name | Description |
---|---|
Severity |
Methods
Name | Description |
---|---|
ValidateReference(ICodeReference) |