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.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
C#
public sealed class LocalVariableSymbol : IComparable<LocalVariableSymbol>, ILocalVariable, IMethodBodyElement, ICustomDebuggingInformationOwner
The LocalVariableSymbol type exposes the following members.
Name | Description | |
---|---|---|
CustomDebuggingInformation | ||
IsDebuggerHidden |
Determines whether the current local variable is compiler-generated.
| |
LocalVariable |
Gets or sets the named LocalVariableDeclaration.
| |
Name |
Gets or sets the local variable name.
|
Name | Description | |
---|---|---|
CompareTo | 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. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(LocalVariableSymbol) | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Overrides Object.ToString().) |
Name | Description | |
---|---|---|
InsertCustomDebuggingInformation | (Defined by ICustomDebuggingInformationOwnerExtensions.) |