IVariableDefinition Interface
Provides the base requirements of a variable definition.
public interface IVariableDefinition : IReflectionDefinition
Properties
DeclaringModule
Gets the reference to the module in which the variable is declared.
IModuleReference DeclaringModule { get; }
Property Value
- IModuleReference:
The reference to the module in which the variable is declared.
IsConstant
Gets whether the variable is a constant.
IsPublic
Gets whether the variable is public.
Type
Gets a ITypeDefinition indicating the variable type, if known.
ITypeDefinition Type { get; }
Property Value
- ITypeDefinition:
A ITypeDefinition indicating the variable type, if known.
TypeExpressionTextRange
Gets the variable type expression TextRange.
TextRange TypeExpressionTextRange { get; }