Defines the semantics of declarations (TypeRefDeclaration
and AssemblyRefDeclaration) that can be "weakly references".
Namespace:
PostSharp.CodeModelAssembly: PostSharp.Core (in PostSharp.Core.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Interface IWeakReferenceable |
| C# |
|---|
public interface IWeakReferenceable |
| Visual C++ |
|---|
public interface class IWeakReferenceable |
Remarks
Serialized constructions (custom attributes and permission set) may reference a type using its fully qualified name instead of an entry in a metadata table. In PostSharp, these "weak references" are not implemented by strings but by references to pseudo-metadata declarations. They are metadata declarations that are marked to have no "strong" reference.
Metadata declarations with "strong" references are called linked and other non-linked.