PostSharp SDK6.6//Post­Sharp.​Sdk.​Code­Model Namespace/Local­Variable­Symbol Class

LocalVariableSymbol Class

Assigns a name to a local variable LocalVariableDeclaration. Local variable symbols belong to an InstructionBlock, which is in the current case the lexical scope of the variable.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.LocalVariableSymbol

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.6.3.0 (6.6.3.0)
Syntax
C#
public sealed class LocalVariableSymbol : IComparable<LocalVariableSymbol>, 
	ILocalVariable, IMethodBodyElement, ICustomDebuggingInformationOwner

The LocalVariableSymbol type exposes the following members.

Properties
  NameDescription
Public propertyCustomDebuggingInformation
Public propertyIsDebuggerHidden
Determines whether the current local variable is compiler-generated.
Public propertyLocalVariable
Gets or sets the named LocalVariableDeclaration.
Public propertyName
Gets or sets the local variable name.
Methods
  NameDescription
Public methodCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(LocalVariableSymbol)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
Extension Methods
See Also