Show / Hide Table of Contents

Class EntityTypeSubstitutor.UnassignedExpression

Sentinel expression type which can be used to indicate absence of assignment of a member in a structural type.

Inheritance
System.Object
EntityTypeSubstitutor.UnassignedExpression
Namespace: Nuqleon.DataModel.CompilerServices
Assembly: Nuqleon.DataModel.CompilerServices.dll
Syntax
protected class UnassignedExpression : Expression

Constructors

UnassignedExpression(Type)

Creates a new sentinel expression with the specified underlying type.

Declaration
public UnassignedExpression(Type type)
Parameters
Type Name Description
System.Type type

Underlying type of the expression.

Properties

CanReduce

Always returns true.

Declaration
public override bool CanReduce { get; }
Property Value
Type Description
System.Boolean

NodeType

Returns Extension.

Declaration
public override ExpressionType NodeType { get; }
Property Value
Type Description
System.Linq.Expressions.ExpressionType

Type

Gets the underlying type.

Declaration
public override Type Type { get; }
Property Value
Type Description
System.Type

Methods

Reduce()

Reduces to default expressions.

Declaration
public override Expression Reduce()
Returns
Type Description
System.Linq.Expressions.Expression

DefaultExpression instance of the same underlying type as the sentinel.

In This Article
Back to top Generated by DocFX