PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Advice­Analyzer­Flags Class / Advice­Analyzer­Flags Methods / Advice­Analyzer­Flags.​Get­Optimizations Method

AdviceAnalyzerFlags.GetOptimizations Method

[Missing <summary> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceAnalyzerFlags.GetOptimizations(PostSharp.Sdk.AspectWeaver.AspectWeaver,PostSharp.Sdk.CodeModel.MethodDefDeclaration,System.Boolean)"]

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public Nullable<long> GetOptimizations(
	AspectWeaver aspectWeaver,
	MethodDefDeclaration method,
	bool warning = true
)

Parameters

aspectWeaver
Type: PostSharp.Sdk.AspectWeaver.AspectWeaver

[Missing <param name="aspectWeaver"/> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceAnalyzerFlags.GetOptimizations(PostSharp.Sdk.AspectWeaver.AspectWeaver,PostSharp.Sdk.CodeModel.MethodDefDeclaration,System.Boolean)"]

method
Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration

[Missing <param name="method"/> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceAnalyzerFlags.GetOptimizations(PostSharp.Sdk.AspectWeaver.AspectWeaver,PostSharp.Sdk.CodeModel.MethodDefDeclaration,System.Boolean)"]

warning (Optional)
Type: System.Boolean

[Missing <param name="warning"/> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceAnalyzerFlags.GetOptimizations(PostSharp.Sdk.AspectWeaver.AspectWeaver,PostSharp.Sdk.CodeModel.MethodDefDeclaration,System.Boolean)"]

Return Value

Type: Nullable<Int64>

[Missing <returns> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceAnalyzerFlags.GetOptimizations(PostSharp.Sdk.AspectWeaver.AspectWeaver,PostSharp.Sdk.CodeModel.MethodDefDeclaration,System.Boolean)"]

See Also