Show / Hide Table of Contents

Class ElementInitExpressionTreeNode

Represents an expression tree node containing an element initializer.

Inheritance
System.Object
ExpressionTreeNode
ElementInitExpressionTreeNode
Implements
System.IEquatable<ExpressionTreeNode>
System.IEquatable<ElementInitExpressionTreeNode>
Inherited Members
ExpressionTreeNode.Equals(ExpressionTreeNode)
ExpressionTreeNode.NodeType
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public sealed class ElementInitExpressionTreeNode : ExpressionTreeNode, IEquatable<ExpressionTreeNode>, IEquatable<ElementInitExpressionTreeNode>

Constructors

ElementInitExpressionTreeNode(ElementInit)

Creates an expression tree node containing an element initializer.

Declaration
public ElementInitExpressionTreeNode(ElementInit elementInit)
Parameters
Type Name Description
System.Linq.Expressions.ElementInit elementInit

Element initializer contained in the expression tree.

Properties

ElementInit

Gets the element initializer contained in the expression tree.

Declaration
public ElementInit ElementInit { get; }
Property Value
Type Description
System.Linq.Expressions.ElementInit

Methods

Equals(ElementInitExpressionTreeNode)

Checks whether the current node is equal to the specified element initializer expression tree node. Equality for expression tree nodes is based on structural properties of the trees.

Declaration
public bool Equals(ElementInitExpressionTreeNode other)
Parameters
Type Name Description
ElementInitExpressionTreeNode other

Element initializer expression tree node to compare to.

Returns
Type Description
System.Boolean

true if both nodes are equal; otherwise, false.

Equals(Object)

Checks whether the current node is equal to the specified object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

Object to compare to.

Returns
Type Description
System.Boolean

true if the current instance and the specified object are equal; otherwise, false.

Overrides
ExpressionTreeNode.Equals(Object)

EqualsCore(ExpressionTreeNode)

Checks whether the current node is equal to the specified expression tree node. Equality for expression tree nodes is based on structural properties of the trees.

Declaration
protected override bool EqualsCore(ExpressionTreeNode other)
Parameters
Type Name Description
ExpressionTreeNode other

Expression tree node to compare to.

Returns
Type Description
System.Boolean

true if both nodes are equal; otherwise, false.

Overrides
ExpressionTreeNode.EqualsCore(ExpressionTreeNode)

GetHashCode()

Gets a hash code representation of the current element initializer node instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Hash code representation of the current element initializer node instance.

Overrides
ExpressionTreeNode.GetHashCode()

ToString()

Gets a string representation of the current element initializer node instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

String representation of the current element initializer node instance.

Implements

System.IEquatable<>
System.IEquatable<>
In This Article
Back to top Generated by DocFX