Class InternalsCannotBeUsedFromAttribute
Aspect that, when applied to a public type, reports a warning whenever any member of the target type is used from from any type specified by the Types, Namespaces, NamespaceOfTypes or CurrentNamespace properties.
Implements
Namespace: Metalama.Extensions.Architecture.Aspects
Assembly: Metalama.Extensions.Architecture.dll
Syntax
public class InternalsCannotBeUsedFromAttribute : BaseUsageValidationAttribute, IConditionallyInheritableAspect, IAspect<INamedType>, IAspect, ICompileTimeSerializable, IEligible<INamedType>
Constructors
Name | Description |
---|---|
InternalsCannotBeUsedFromAttribute() |
Methods
Name | Description |
---|---|
BuildAspect(IAspectBuilder<INamedType>) | |
BuildEligibility(IEligibilityBuilder<INamedType>) |