PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Method­Mapping­Writer Class / Method­Mapping­Writer Methods / Method­Mapping­Writer.​Emit­Store­Context­Item­Into­Local­Conditional Method / Method­Mapping­Writer.​Emit­Store­Context­Item­Into­Local­Conditional Method (Method­Mapping­Context­Item, ILocal­Storage, ILocal­Storage, IType­Signature, Instruction­Writer, Action(Instruction­Writer, ILocal­Storage), Action(Instruction­Writer, ILocal­Storage))

MethodMappingWriter.EmitStoreContextItemIntoLocalConditional Method (MethodMappingContextItem, ILocalStorage, ILocalStorage, ITypeSignature, InstructionWriter, Action<InstructionWriter, ILocalStorage>, Action<InstructionWriter, ILocalStorage>)

[Missing <summary> documentation for "M:PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter.EmitStoreContextItemIntoLocalConditional(PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionWriter,System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage},System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage})"]

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public void EmitStoreContextItemIntoLocalConditional(
	MethodMappingContextItem methodMappingContextItem,
	ref ILocalStorage contextItemLocal,
	ref ILocalStorage loadedFromContextLocal,
	ITypeSignature contextItemType,
	InstructionWriter instructionWriter,
	Action<InstructionWriter, ILocalStorage> loadContextItemAction,
	Action<InstructionWriter, ILocalStorage> emitIfLoadedFromContextAction
)

Parameters

methodMappingContextItem
Type: PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem

[Missing <param name="methodMappingContextItem"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter.EmitStoreContextItemIntoLocalConditional(PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionWriter,System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage},System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage})"]

contextItemLocal
Type: PostSharp.Sdk.AspectInfrastructure.ILocalStorage

[Missing <param name="contextItemLocal"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter.EmitStoreContextItemIntoLocalConditional(PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionWriter,System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage},System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage})"]

loadedFromContextLocal
Type: PostSharp.Sdk.AspectInfrastructure.ILocalStorage

[Missing <param name="loadedFromContextLocal"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter.EmitStoreContextItemIntoLocalConditional(PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionWriter,System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage},System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage})"]

contextItemType
Type: PostSharp.Sdk.CodeModel.ITypeSignature

[Missing <param name="contextItemType"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter.EmitStoreContextItemIntoLocalConditional(PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionWriter,System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage},System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage})"]

instructionWriter
Type: PostSharp.Sdk.CodeModel.InstructionWriter

[Missing <param name="instructionWriter"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter.EmitStoreContextItemIntoLocalConditional(PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionWriter,System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage},System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage})"]

loadContextItemAction
Type: System.Action<InstructionWriter, ILocalStorage>

[Missing <param name="loadContextItemAction"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter.EmitStoreContextItemIntoLocalConditional(PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionWriter,System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage},System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage})"]

emitIfLoadedFromContextAction
Type: System.Action<InstructionWriter, ILocalStorage>

[Missing <param name="emitIfLoadedFromContextAction"/> documentation for "M:PostSharp.Sdk.AspectInfrastructure.MethodMappingWriter.EmitStoreContextItemIntoLocalConditional(PostSharp.Sdk.AspectInfrastructure.MethodMappingContextItem,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.AspectInfrastructure.ILocalStorage@,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.InstructionWriter,System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage},System.Action{PostSharp.Sdk.CodeModel.InstructionWriter,PostSharp.Sdk.AspectInfrastructure.ILocalStorage})"]

See Also