Share via


NotNullableExpression Class

Definition

Reducible annotation expression used to affect null expansion logic.

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

Constructors

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

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