AdviceAnalyzer.Analyze Method |
Analyzes an advice method and store the result in a custom attribute if the member is public.
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public virtual void Analyze( MethodDefDeclaration method )
Parameters
- method
- Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration
The advice method to be analyzed.