MethodMappingWriter.EmitStoreInstance Method |
Namespace: PostSharp.Sdk.AspectInfrastructure
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public abstract void EmitStoreInstance( bool cast, InstructionWriter writer, Action<InstructionWriter> loadValueAction )
Parameters
- cast
- Type: System.Boolean
true if the value loaded by loadValueAction is an Object and should be unboxed, false if the value is already in the right type. - writer
- Type: PostSharp.Sdk.CodeModel.InstructionWriter
An InstructionWriter. - loadValueAction
- Type: System.Action<InstructionWriter>
A delegate that emits instructions that load the new value of the this object on the top of the stack.