In Metalama, use CanOnlyBeUsedFromAttribute.
Inheritance
ComponentInternalAttribute
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 |
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) |