NullCompensatedExpression Class

Definition

Reducible annotation expression indicating that the following expression fragment has been compensated for null semantics. No additional null semantics related processing is needed for this fragment.

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

Constructors

NullCompensatedExpression(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