CompileTimeValidate(Assembly)
Method invoked at build time to ensure that the aspect has been applied to the right target.
Declaration
public override bool CompileTimeValidate(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | Assembly on which the current aspect is applied. |
Returns
Type | Description |
---|---|
bool |
|
Overrides
Remarks
The implementation of this method is expected to emit an error message (see
MessageSource) or an exception in case of error. Returning false
without emitting an
error message or exception causes the aspect to be silently ignored.