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

AdviceAnalyzer.GetCachedOptimizations Method

[Missing <summary> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceAnalyzer.GetCachedOptimizations(PostSharp.Sdk.CodeModel.MethodDefDeclaration,System.Type,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 static Nullable<long> GetCachedOptimizations(
	MethodDefDeclaration method,
	Type customAttributeType,
	bool warning
)

Parameters

method
Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration

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

customAttributeType
Type: System.Type

[Missing <param name="customAttributeType"/> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceAnalyzer.GetCachedOptimizations(PostSharp.Sdk.CodeModel.MethodDefDeclaration,System.Type,System.Boolean)"]

warning
Type: System.Boolean

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

Return Value

Type: Nullable<Int64>

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

See Also