IVariableDefinition Interface
Provides the base requirements of a variable definition.
public interface IVariableDefinition : IReflectionDefinition
Properties
DeclaringMember
Gets the type member that declares the current variable.
ITypeMemberDefinition DeclaringMember { get; }
Property Value
- ITypeMemberDefinition:
An ITypeMemberDefinition object representing the type member that declares the current variable.
IsDynamicType
Gets whether the variable type is a dynamic type.
bool IsDynamicType { get; }
Property Value
- Boolean:
true
if the variable type is a dynamic type; otherwise,false
.
IsRangeVariable
Gets whether the variable is a LINQ range variable.
bool IsRangeVariable { get; }
Property Value
- Boolean:
true
if the variable is a LINQ range variable; otherwise,false
.
Type
Gets an ITypeReference for the variable type.
ITypeReference Type { get; }
Property Value
- ITypeReference:
An ITypeReference for the variable type.