MethodExecutionAdviceArgsBuilder.EmitStoreMethodExecutionAdviceArgsIntoLocal Method |
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public void EmitStoreMethodExecutionAdviceArgsIntoLocal( AspectWeaverInstance aspectWeaverInstance, IMethod targetMethod, IMethod originalTargetMethod, MethodMappingWriter methodMappingWriter, MethodMapping bindingMethodMapping, ArgumentsWriter argumentsWriter, InstructionWriter instructionWriter, MethodExecutionAdviceOptimizations optimizations, InstructionBlock instructionBlock, out ILocalStorage adviceArgsVariable )
Parameters
- aspectWeaverInstance
- Type: PostSharp.Sdk.AspectWeaver.AspectWeaverInstance
The AspectWeaverInstance for which the AdviceArgs is created. - targetMethod
- Type: PostSharp.Sdk.CodeModel.IMethod
Method to which the advise is applied. - originalTargetMethod
- Type: PostSharp.Sdk.CodeModel.IMethod
[Missing <param name="originalTargetMethod"/> documentation for "M:PostSharp.Sdk.AspectWeaver.MethodExecutionAdviceArgsBuilder.EmitStoreMethodExecutionAdviceArgsIntoLocal(PostSharp.Sdk.AspectWeaver.AspectWeaverInstance,PostSharp.Sdk.CodeModel.IMethod,PostSharp.Sdk.CodeModel.IMethod,PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter,PostSharp.Sdk.AspectInfrastructure.MethodMapping,PostSharp.Sdk.AspectWeaver.Transformations.ArgumentsWriter,PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Aspects.Internals.MethodExecutionAdviceOptimizations,PostSharp.Sdk.CodeModel.InstructionBlock,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@)"]
- methodMappingWriter
- Type: PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter
The MethodMappingWriter for the current context. - bindingMethodMapping
- Type: PostSharp.Sdk.AspectInfrastructure.MethodMapping
Optionally, the MethodMapping for the next context, so that the relevant context items can be added to this context. - argumentsWriter
- Type: PostSharp.Sdk.AspectWeaver.Transformations.ArgumentsWriter
An ArgumentsWriter. - instructionWriter
- Type: PostSharp.Sdk.CodeModel.InstructionWriter
An InstructionWriter. - optimizations
- Type: MethodExecutionAdviceOptimizations
Advise optimizations. - instructionBlock
- Type: PostSharp.Sdk.CodeModel.InstructionBlock
InstructionBlock where the local variable adviceArgsVariable must be defined. - adviceArgsVariable
- Type: PostSharp.Sdk.AspectInfrastructure.ILocalStorage
At output, the local variable containing the MethodExecutionArgs.