MethodMappingWriter.EmitStoreContextItemIntoLocal Method (MethodMappingContextItem, InstructionWriter, ILocalStorage, Boolean) |
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 EmitStoreContextItemIntoLocal( MethodMappingContextItem methodMappingContextItem, InstructionWriter instructionWriter, ref ILocalStorage local, out bool mayBeNull )
Parameters
- methodMappingContextItem
- Type: PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem
The context item. - instructionWriter
- Type: PostSharp.Sdk.CodeModel.InstructionWriter
An InstructionWriter. - local
- Type: PostSharp.Sdk.AspectInfrastructure.ILocalStorage
The local storage into which the context item is stored. If the input value of this parameter is null, the local variable is created. - mayBeNull
- Type: System.Boolean
At output, true if the value of local can be null at run time, false if it guaranteed to contain the required context item.