PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / IAdvice­Analyzer Interface / IAdvice­Analyzer Methods / IAdvice­Analyzer.​Analyze Method

IAdviceAnalyzer.Analyze Method

Analyzes an advice.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
void Analyze(
	MethodDefDeclaration method
)

Parameters

method
Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration
The advice method.
Remarks

The implementation of this method will typically store optimization information as a tag on method for later retrieval using a custom method.

See Also