Class RefAnyValExpression
Represents expression that is equivalent to __refvalue
C# undocumented keyword
or refanyval
IL instruction.
Inherited Members
Namespace: DotNext.Linq.Expressions
Assembly: DotNext.Metaprogramming.dll
Syntax
public sealed class RefAnyValExpression : CustomExpression
Constructors
| Edit this page View SourceRefAnyValExpression(ParameterExpression, Type)
Initializes a new expression.
Declaration
public RefAnyValExpression(ParameterExpression typedRef, Type referenceType)
Parameters
Type | Name | Description |
---|---|---|
ParameterExpression | typedRef | The variable of type TypedReference. |
Type | referenceType | The type of the managed reference. |
Exceptions
Type | Condition |
---|---|
ArgumentException |
|
Properties
| Edit this page View SourceReferenceType
Gets type of the managed reference.
Declaration
public Type ReferenceType { get; }
Property Value
Type | Description |
---|---|
Type |
Type
Gets the type of this expression.
Declaration
public override Type Type { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
| Edit this page View SourceTypedReferenceVar
Gets a variable that holds the value of type TypedReference.
Declaration
public ParameterExpression TypedReferenceVar { get; }
Property Value
Type | Description |
---|---|
ParameterExpression |
Methods
| Edit this page View SourceReduce()
Translates this expression into predefined set of expressions using Lowering technique.
Declaration
public override Expression Reduce()
Returns
Type | Description |
---|---|
Expression | Translated expression. |