Class NullCoalescingAssignmentExpression
Represents null-coalescing assignment operator.
Inherited Members
Namespace: DotNext.Linq.Expressions
Assembly: DotNext.Metaprogramming.dll
Syntax
public sealed class NullCoalescingAssignmentExpression : CustomExpression
Constructors
| Edit this page View SourceNullCoalescingAssignmentExpression(IndexExpression, Expression)
Initializes a new assignment expression.
Declaration
public NullCoalescingAssignmentExpression(IndexExpression left, Expression right)
Parameters
| Type | Name | Description |
|---|---|---|
| IndexExpression | left | The left operand of the assignment. |
| Expression | right | The right operand of the assignment. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
NullCoalescingAssignmentExpression(MemberExpression, Expression)
Initializes a new assignment expression.
Declaration
public NullCoalescingAssignmentExpression(MemberExpression left, Expression right)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberExpression | left | The left operand of the assignment. |
| Expression | right | The right operand of the assignment. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
NullCoalescingAssignmentExpression(ParameterExpression, Expression)
Initializes a new assignment expression.
Declaration
public NullCoalescingAssignmentExpression(ParameterExpression left, Expression right)
Parameters
| Type | Name | Description |
|---|---|---|
| ParameterExpression | left | The left operand of the assignment. |
| Expression | right | The right operand of the assignment. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
|
Properties
| Edit this page View SourceLeft
Gets the left operand of the assignment operation.
Declaration
public Expression Left { get; }
Property Value
| Type | Description |
|---|---|
| Expression |
Right
Gets the right operand of the assignment operation.
Declaration
public Expression Right { get; }
Property Value
| Type | Description |
|---|---|
| Expression |
Type
Gets result type of asynchronous operation.
Declaration
public override Type Type { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Overrides
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. |
Overrides
| Edit this page View SourceVisitChildren(ExpressionVisitor)
Visit children expressions.
Declaration
protected override NullCoalescingAssignmentExpression VisitChildren(ExpressionVisitor visitor)
Parameters
| Type | Name | Description |
|---|---|---|
| ExpressionVisitor | visitor | Expression visitor. |
Returns
| Type | Description |
|---|---|
| NullCoalescingAssignmentExpression | Potentially modified expression if one of children expressions is modified during visit. |