CustomAttributeDeclaration Constructor (IMethod) |
Initializes a new instance of the CustomAttributeDeclaration type.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public CustomAttributeDeclaration( IMethod constructor )
Parameters
- constructor
- Type: PostSharp.Sdk.CodeModel.IMethod
Custom attribute constructor.
The constructor parameter should be set to a valid
instance constructor. This rule is not enforced.