NullableExpression Class

Definition

Reducible annotation expression used to affect null expansion logic.

public class NullableExpression : System.Linq.Expressions.Expression
type NullableExpression = class
    inherit Expression
Public Class NullableExpression
Inherits Expression
Inheritance
NullableExpression

Constructors

NullableExpression(Expression)

Creates an instance of NotNullableExpression.

Properties

CanReduce

Indicates that the node can be reduced to a simpler node. If this returns true, Reduce() can be called to produce the reduced form.

NodeType

Type of the node.

Operand

The operand.

Type

The type.

Methods

Equals(Object)

Tests if this object is considered equal to another.

GetHashCode()

Returns a hash code for this object.

Reduce()

Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.

VisitChildren(ExpressionVisitor)

Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.

Applies to