PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Instruction­Block Class / Instruction­Block Methods / Instruction­Block.​Add­Local­Variable­Symbol Method

InstructionBlock.AddLocalVariableSymbol Method

Adds a LocalVariableSymbol to the current InstructionBlock.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public void AddLocalVariableSymbol(
	LocalVariableSymbol symbol
)

Parameters

symbol
Type: PostSharp.Sdk.CodeModel.LocalVariableSymbol
A LocalVariableSymbol.
See Also