Class MemberBindingExpressionTreeNode
Represents an expression tree node containing a member binding.
Inheritance
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public abstract class MemberBindingExpressionTreeNode : ExpressionTreeNode, IEquatable<ExpressionTreeNode>, IEquatable<MemberBindingExpressionTreeNode>
Constructors
MemberBindingExpressionTreeNode(ExpressionTreeNodeType, MemberBinding)
Creates an expression tree node containing a member binding.
Declaration
protected MemberBindingExpressionTreeNode(ExpressionTreeNodeType nodeType, MemberBinding binding)
Parameters
Type | Name | Description |
---|---|---|
ExpressionTreeNodeType | nodeType | Type of the member binding node. |
System.Linq.Expressions.MemberBinding | binding | Member binding contained in the expression tree. |
Properties
MemberBinding
Gets the member binding contained in the expression tree.
Declaration
public MemberBinding MemberBinding { get; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.MemberBinding |
Methods
Equals(MemberBindingExpressionTreeNode)
Checks whether the current node is equal to the specified member binding expression tree node. Equality for expression tree nodes is based on structural properties of the trees.
Declaration
public bool Equals(MemberBindingExpressionTreeNode other)
Parameters
Type | Name | Description |
---|---|---|
MemberBindingExpressionTreeNode | other | Member binding 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
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
GetHashCode()
Gets a hash code representation of the current member binding node instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code representation of the current member binding node instance. |